jquery - Temporary ID For new object rails -


i trying upload photos through ajax on multistep form (which using ajax), problem facing in order upload photo , keep tied new object (lets call post) photo needs store posts id. can't post new object , id nil! have seen lot of websites when click create url looks "www.example.com/post?step=create&id=134813489134" whats weird id created, step rather simple user closes browser? object stay persist or deleted. in advance


Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -