Displaying 1 result from an estimated 1 matches for "validate_acceptance_of".
Did you mean:
validates_acceptance_of
2006 Jan 08
3
Getting the current Action in the Model
Is it possible to get the current Controller''s action from within the
Model? I have a situation where I want a piece of validation to run on
edits, but not on new creates.
Thanks,
- Mark
--
Posted via http://www.ruby-forum.com/.