1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Ruby on Rails
Find a file
taryn 328ba3b333 Added save! which raises ResourceInvalid unless valid?
Similar to Active Record - it will raise ActiveResouce::ResourceInvalid if
the resource is not valid (ie if <tt>valid?</tt> returns false)

However - does not raise ActiveResource::ResourceNotFound if the callbacks
fail (callbacks have not yet been implemented) - it will just try to save
and raise if the callbacks all fail.

This is not ideal behaviour - but will do until we decide to change the
behaviour of save_with_validations to actually raise (rather than catch) the
ResourceInvalid exception.

Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-08-19 09:05:02 -05:00
actionmailer Get rid of parenthesize argument warnings 2009-08-09 16:00:53 +01:00
actionpack k, thats really slow, lets not 2009-08-16 21:21:39 -05:00
activemodel Remove support for SQLite 2. 2009-08-17 14:54:34 +01:00
activerecord Remove support for SQLite 2. 2009-08-17 14:54:34 +01:00
activeresource Added save! which raises ResourceInvalid unless valid? 2009-08-19 09:05:02 -05:00
activesupport Skip isolation test tests when using MiniTest 2009-08-15 12:28:09 -07:00
ci Remove sqlite2 build from CI recipe [#3066 state:resolved] 2009-08-18 13:24:39 +01:00
doc/template Horo rdoc template 2008-06-22 10:38:25 -07:00
railties Remove support for SQLite 2. 2009-08-17 14:54:34 +01:00
tools Rename tools/profile_requires -> tools/profile since we do both require and ruby-prof profiling. 2009-05-27 01:11:33 -05:00
.gitignore .gitignore activesupport/test/fixtures/isolation_test 2009-08-09 18:18:47 +01:00
.gitmodules Remove submodule 2009-08-11 23:44:44 -07:00
pushgems.rb No more svn version numbers to rely on, use timestamps instead 2008-05-11 18:21:47 -05:00
Rakefile Vendorized Thor. 2009-07-13 23:13:48 +02:00
release.rb Use copy instead of export for release 2008-09-05 14:22:56 +02:00