rails/rails — pull request #8639 by bogdan (2012-12-28 13:17:43+00:00)
Title: Add AR::Base#valid! method

This is helper method in case when some operations should be done on a record before saving. But they doesn't make sence if record is invalid.

``` ruby
def create_developer_from_linkedin(parameters)
d = Developer.new(parameters)
d.valid!
d.import_linkedin_profile
d.save!
end