Well, here’s the code that makes the form tags look at the database
directly. Is there a reason why I shouldn’t comment out these lines
below? Basically, I’m asking the core team why they decided to look at
the database first.
module ActionView
module Helpers
class InstanceTag
def value_before_type_cast
unless object.nil?
# object.respond_to?(@method_name + "_before_type_cast") ?
# object.send(@method_name + "_before_type_cast") :
object.send(@method_name)
end
end
end
end