search for: confirmation_cod

Displaying 3 results from an estimated 3 matches for "confirmation_cod".

Did you mean: confirmation_code
2005 Mar 06
2
Using url_for in ActionMailer templates
...confirmation URL to users who sign up for an account. I can obviously just hardcode the URL and append the confirmation code to it, but I''d much rather be able to use something like: url_for(:controller => ''authentication'', :action => ''confirm'', :confirmation_code => confirmation_code) and spit that URL out. However, it seems taht within the context of the AM template, no controller is defined, so calling url_for() results in an error "undefined method `url_for'' for nil:NilClass"... The stack trace indicates that it''s findin...
2009 Feb 20
1
better nested set and parent_id
Hello everybody I have a model with better_nested_set. In my "new" form, i pass the desired parent_id as a hidden field, and in the create action at the controller i save the new register and use move_to_child_of Model (params[item][parent_id]) Everything works, but at my log file it warns that i can''t mass asign the property "parent_id". What can i do to avoid the
2007 Nov 26
8
Renaming RailsExample to RailsExampleGroup
Fyi, I made the following renames: * RailsExample -> RailsExampleGroup * FunctionalExample -> FunctionalExampleGroup * ControllerExample -> ControllerExampleGroup * ViewExample -> ViewExampleGroup * HelperExample -> HelperExampleGroup * ModelExample -> ModelExampleGroup This was done to keep the naming consistent with ExampleGroup.