Ruby on Rails Monday, August 1, 2011

Walter Davis wrote in post #1014258:
> try get ':activate/:activation_code'
>
> Along those same lines, try User.find_by_id_and_activation_code(params)

Thanks, but I tried it and I get this error when trying to start the
server...

Exiting
/var/lib/gems/1.8/gems/actionpack-3.0.9/lib/action_dispatch/routing/mapper.rb:171:in
`default_controller_and_action': missing :action (ArgumentError)
from
/var/lib/gems/1.8/gems/actionpack-3.0.9/lib/action_dispatch/routing/mapper.rb:72:in
`normalize_options!'

--
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.

No comments:

Post a Comment