Re: Why is FormHelper using value_before_type_cast ?

Michael Koziarski
Mon, 06 Mar 2006 03:43:47 -0000

> How can custom reader/writer methods be accomodated then ?
>

See
http://dev.rubyonrails.org/browser/trunk/activerecord/lib/active_record/base.rb#L1561

if you implement your own _before_type_cast methods you should be
fine.   Why not just define a separate accessor  though,  i.e. one
used during calculations but not during user input?

--
Cheers

Koz