aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/customers.yml
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-11-03 18:54:16 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-11-03 18:54:16 +0000
commit44d1420757e4a9ce564cc1f2606069b4d96b6470 (patch)
tree2ece0deceeeb10e728c4fee90e6d43d5ebde7498 /activerecord/test/fixtures/customers.yml
parente024f2f1bff35fb4d0630684f6985c8e7da79ce2 (diff)
downloadrails-44d1420757e4a9ce564cc1f2606069b4d96b6470.tar.gz
rails-44d1420757e4a9ce564cc1f2606069b4d96b6470.tar.bz2
rails-44d1420757e4a9ce564cc1f2606069b4d96b6470.zip
Add Model.create! to match existing model.save! method. When save! raises RecordInvalid, you can catch the exception, retrieve the invalid record (invalid_exception.record), and see its errors (invalid_exception.record.errors).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/customers.yml')
0 files changed, 0 insertions, 0 deletions