Using RESTful Rails, How to Do an Insert and Create in One Action
Posted
by Dex
on Stack Overflow
See other posts from Stack Overflow
or by Dex
Published on 2010-03-26T06:08:38Z
Indexed on
2010/03/26
6:13 UTC
Read the original article
Hit count: 347
I have a link on a website that says "add object". When I do this, an AJAX call is made and I want to do the following things:
1) if the container in the session does not exist, create one, else use existing 2) add the object to the container
I'm new to RESTful design and am wondering how to best accomplish this in Rails. Step #1 in particular
© Stack Overflow or respective owner