Frederick Cheung wrote:
> On Jan 2, 5:21�pm, Laim Bee <li...@ruby-forum.com> wrote:
>> Frederick Cheung wrote:
> 
>> How does Rails know when you click the Submit button, that you want to
>> initiate the create method in the comments controller?
> 
> The conventions (in particular REST) that rails uses dictate that to
> create a foo you post to /foos
> 
> Fred
>> --
>> Posted viahttp://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-t...@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.


So what's the best way to debug why the create method is not working 
properly? Is there a way to set a global variable that would be viewable 
from ruby script/console?

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to