Related questions
Cannot skip validation in Rails 3?
I'm working on a project in Rails 3 where I need to create an empty record, save it to the database without validation (because it's empty), and then allow the users to edit this record in order to complete it, and …
What is the Rails3 version of errors.add_to_base?
I want to write a custom validation in Rails 3, but following this example I get:
'ActiveModel::DeprecatedErrorMethods.add_to_base' call is deprecated in Rails 3.0
What is the rails3 version of:
def validate
errors.add_to_base "If you are …