On Fri, Jan 2, 2009 at 2:53 PM, Vahagn Hayrapetyan <
[email protected]> wrote:

>
> Hi guys and thanks a lot.
>
> post 'account/forgot', :user => {:email => '[email protected]'}
>
> is the deal. Patrick, if you could figure this out by putting print
> statements in your controller you're a better Rails coder than me :-)
> Did you mean:
>
>  def forgot
>    puts "OPTIONS: " + options[:user] #method undefined!
>    etc etc
>    .


Yup.  I'm not sure why you would get a #method undefined! error.  I got all
sorts "you have tried to call nil.something" errors, which pointed in the
direction of realizing that options[:foo][:bar] was not set.

I'm glad I could help.  I have received so much help from the folks on this
list that it's a pleasure to be able to give some back.


--wpd

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to