Thursday, December 2, 2010

[Rails] Re: Redirect to edit form after update

Leonel *.* wrote in post #965703:
[...]
> I had the respond_to block because that's how it was programmed by the
> scaffold and wasn't sure if I should remove it or not.

Yet another reason not to use scaffolding: it generates a lot of junk
that you won't understand if you're a beginner and you won't need if
you're experienced...

(It *can* be useful as an example, though.)

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate