aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-02-27 11:25:15 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2014-02-27 11:25:15 -0800
commit26306420a6f483f23172d84176bf6aa57548651f (patch)
treef3968bf35da8e33ae98d2b63eaa2cc0e401fe794 /activerecord
parentbf3ddfa28da8ca837ddce8c6744a6c1fd9a51243 (diff)
parent14e697cf2a1f2a4d223463839f6748fca4658bcf (diff)
downloadrails-26306420a6f483f23172d84176bf6aa57548651f.tar.gz
rails-26306420a6f483f23172d84176bf6aa57548651f.tar.bz2
rails-26306420a6f483f23172d84176bf6aa57548651f.zip
Merge branch 'master' into adequaterecord
* master: modify model generator warning message. refs [#174c9f0] Replace "data store" with database [ci skip] Return a hash rather than array from fetch_multi Fix concerning module reference [ci skip] Fixes docs typo in nested resource path helpers [skip ci] Fix some validators when used on model instance Pass strings to demodulize method pass strings to the underscore method speed up `underscore` in cases that don't need to do anything pass the class name to `tableize` [ci skip] Update list of files extensions in rake notes guide Fix controller test not resetting @_url_options
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/persistence.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index b1b35ed940..203928fb3f 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -64,7 +64,7 @@ module ActiveRecord
end
# Returns true if this object hasn't been saved yet -- that is, a record
- # for the object doesn't exist in the data store yet; otherwise, returns false.
+ # for the object doesn't exist in the database yet; otherwise, returns false.
def new_record?
sync_with_transaction_state
@new_record