> The error seems to be in users_controller.rb line 32.... can you show > the > code of this line and the surrounding method: > > ArgumentError (invalid date): > app/controllers/users_controller.rb:32:in `activate'
line 32 is following: user = User.find_by_activation_code(params[:activation_code]) unless params[:activation_code].blank? the surrounding methods are in attached file. the activate is method invoked by a link in email template which is sent successfully by an observer. the route for activate method: match '/activate/:activation_code' => 'users#activate', :as => :activate, :activation_code => nil Attachments: http://www.ruby-forum.com/attachment/5366/surrounding_and_method_itself.txt -- 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 [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.

