Permalink
Browse files

Fixes the camelCase variable name in the docs [ci skip]

  • Loading branch information...
1 parent 3e6d302 commit ca1121af6aeaa848267dd5d73fef10f1e9ea35a3 @fredwu fredwu committed Feb 3, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/associations.rb
@@ -672,8 +672,8 @@ def association_instance_set(name, association)
# 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
#

0 comments on commit ca1121a

Please sign in to comment.