I need some help with iPhone. I use iui but I don''t understand the basics. It seems that I can''t do a simple update of a post using Ajax. Is that done for you? What if I want to delete a post in the db, from a "show" view. How do I write the delete link and the method? How do I get back to the view I want after that. -- Posted via http://www.ruby-forum.com/.
Pål Bergström wrote:> I need some help with iPhone. I use iui but I don''t understand the > basics. It seems that I can''t do a simple update of a post using Ajax. > Is that done for you? > > What if I want to delete a post in the db, from a "show" view. How do I > write the delete link and the method? How do I get back to the view I > want after that.Got it working using a normal link_to and target _replace. But I the "backButton" has the wrong innerHTML and href. How can I change that? Can I add some variables to the link_to? -- Posted via http://www.ruby-forum.com/.