search for: roostershir

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

Did you mean: roostershire
2007 Jan 20
0
[PLUGIN] instance_validations
...e validations are used: chicken_without_a_name = Chicken.new class << chicken_without_a_name validates_presence_of :home_town end chicken_without_a_name.valid? => false, will have an error on home_town but not name chicken_without_a_name.home_town = "Roostershire" chicken_without_a_name.valid? => true Written by Pat Maddox. Released under the MIT License. Get info at http://evang.eli.st/blog/2007/1/20/instance-validations-plugin (until I set up an open svn repository) --~--~---------~--~----~------------~-------~--~----~ Y...