Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit ca1121af6aeaa848267dd5d73fef10f1e9ea35a3 1 parent 3e6d302
Fred Wu fredwu authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/associations.rb
4 activerecord/lib/active_record/associations.rb
View
@@ -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
#
Please sign in to comment.
Something went wrong with that request. Please try again.