From ca1121af6aeaa848267dd5d73fef10f1e9ea35a3 Mon Sep 17 00:00:00 2001 From: Fred Wu Date: Mon, 3 Feb 2014 12:02:07 +1100 Subject: Fixes the camelCase variable name in the docs [ci skip] --- activerecord/lib/active_record/associations.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/lib/active_record/associations.rb') 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 # -- cgit v1.2.3