I have a requirement, in an MVC2 web application, to validate that the 开发者_高级运维user is at least 13 years old.Is there a date/datetime validation attribute that will enable me to do this?Since y
obj.update_attribute(:only_one_field, \'Some Value\') obj.update_attributes(field1: \'value\', field2: \'value2\', field3: \'value3\')
I am trying to write a simple function to clean a filename string and update the object.When I save a test string it works, but when I try to save the string variable I\'ve created, nothing happens.Bu