diff options
author | Fred Wu <ifredwu@gmail.com> | 2014-02-03 12:02:07 +1100 |
---|---|---|
committer | Fred Wu <ifredwu@gmail.com> | 2014-02-03 12:02:07 +1100 |
commit | ca1121af6aeaa848267dd5d73fef10f1e9ea35a3 (patch) | |
tree | 132855497443e506b7bcda7decd32c80d3109346 /activerecord/lib/active_record | |
parent | 3e6d302ccc0b3bbb1527dbb83ea1834bd85b44a0 (diff) | |
download | rails-ca1121af6aeaa848267dd5d73fef10f1e9ea35a3.tar.gz rails-ca1121af6aeaa848267dd5d73fef10f1e9ea35a3.tar.bz2 rails-ca1121af6aeaa848267dd5d73fef10f1e9ea35a3.zip |
Fixes the camelCase variable name in the docs [ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index f3f77e21c0..051f7dff53 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -672,8 +672,8 @@ module ActiveRecord # class Asset < ActiveRecord::Base # belongs_to :attachable, polymorphic: true # - # def attachable_type=(sType) - # super(sType.to_s.classify.constantize.base_class.to_s) + # def attachable_type=(klass) + # super(klass.to_s.classify.constantize.base_class.to_s) # end # end # |