public Method

Base.attributes_before_type_cast

Returns a hash of cloned attributes before typecasting and deserialization.

Source Code

# File active_record/base.rb, line 2147
def attributes_before_type_cast
  clone_attributes :read_attribute_before_type_cast
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.