instance method attribute_cast_code

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v3.2.22.5 Private

Signature

attribute_cast_code(attr_name)

No documentation comment.

Parameters

attr_name req
Source
# File activerecord/lib/active_record/attribute_methods/read.rb, line 119
          def attribute_cast_code(attr_name)
            columns_hash[attr_name].type_cast_code('v')
          end

Defined in activerecord/lib/active_record/attribute_methods/read.rb line 119 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::AttributeMethods::Read::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close