static public Method

InstanceTag.value_before_type_cast(object, method_name)

There's no documentation for this item.

Source Code

# File action_view/helpers/form_helper.rb, line 577
def value_before_type_cast(object, method_name)
  unless object.nil?
    object.respond_to?(method_name + "_before_type_cast") ?
    object.send(method_name + "_before_type_cast") :
    object.send(method_name)
  end
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.