aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorarvind <bloomberg490@gmail.com>2015-09-07 19:57:51 +0530
committerarvind <bloomberg490@gmail.com>2015-09-08 16:02:16 +0530
commitdad0c2677cb94c286c67af5e6a32f7956e02aafe (patch)
tree32ca5ad6e57be7c28c4123361300635a29df9816 /activerecord
parente75b92c032ddbd0e664c4fd241bec5668e35ee96 (diff)
downloadrails-dad0c2677cb94c286c67af5e6a32f7956e02aafe.tar.gz
rails-dad0c2677cb94c286c67af5e6a32f7956e02aafe.tar.bz2
rails-dad0c2677cb94c286c67af5e6a32f7956e02aafe.zip
Replace AR with ActiveRecord to make it more readable [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/inheritance.rb2
-rw-r--r--activerecord/lib/active_record/model_schema.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/inheritance.rb b/activerecord/lib/active_record/inheritance.rb
index e613d157aa..c26842014d 100644
--- a/activerecord/lib/active_record/inheritance.rb
+++ b/activerecord/lib/active_record/inheritance.rb
@@ -82,7 +82,7 @@ module ActiveRecord
# Returns the class descending directly from ActiveRecord::Base, or
# an abstract class, if any, in the inheritance hierarchy.
#
- # If A extends AR::Base, A.base_class will return A. If B descends from A
+ # If A extends ActiveRecord::Base, A.base_class will return A. If B descends from A
# through some arbitrarily deep hierarchy, B.base_class will return A.
#
# If B < A and C < B and if A is an abstract_class then both B.base_class
diff --git a/activerecord/lib/active_record/model_schema.rb b/activerecord/lib/active_record/model_schema.rb
index 5a6f42ba09..2b0c755ef4 100644
--- a/activerecord/lib/active_record/model_schema.rb
+++ b/activerecord/lib/active_record/model_schema.rb
@@ -240,7 +240,7 @@ module ActiveRecord
end
# Returns a hash where the keys are column names and the values are
- # default values when instantiating the AR object for this table.
+ # default values when instantiating the Active Record object for this table.
def column_defaults
load_schema
_default_attributes.to_hash