search for: validation_scenario

Displaying 1 result from an estimated 1 matches for "validation_scenario".

Did you mean: validation_scenarios
2008 May 15
0
partial_updates feature in rails 2.1, failing to save because of validate_presence _of on other attributes in the table
...d of just the changed attributes. The model works as I can successfully .save(false) but if I try a regular .save I get an error saying that it could not save because of validations problems. I want to use this to get around the challenges of saving a part of a wide table without resorting to the validation_scenarios plugin. Any ideas on how I can fix this? Black-Mac:turbocis89 Charles$ script/console Loading development environment (Rails 2.0.991) >> Spec.partial_updates => true >> User.partial_updates => true >> @user = User.find_by_screen_name(''vince888'') => #...