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
Post a Comment