aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/shared_for_gem.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-17 21:51:14 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-17 21:51:14 +0000
commit604a09462eb6ad9eec0bd8ba3f100f6c402945e3 (patch)
treedac634b993c8a20e69b145f8ab5d4ee4bdcf98cc /railties/environments/shared_for_gem.rb
parent648b8fda54e5de742e4ffbb4bc8e6edf0b68a111 (diff)
downloadrails-604a09462eb6ad9eec0bd8ba3f100f6c402945e3.tar.gz
rails-604a09462eb6ad9eec0bd8ba3f100f6c402945e3.tar.bz2
rails-604a09462eb6ad9eec0bd8ba3f100f6c402945e3.zip
Added Base#update_attributes that'll accept a hash of attributes and save the record (returning true if it passed validation, false otherwise). Added a return value for Base#update_attribute, so that you get to know whether the save was successful or if it failed validation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments/shared_for_gem.rb')
0 files changed, 0 insertions, 0 deletions