On 5/23/07, Nik Wakelin <[EMAIL PROTECTED]> wrote:
>
>
>   1) If an overridden accessor is there, (i.e you've defined
> Product#price) then that gets called
>    2) Otherwise, we call price_before_type_cast


That's still no good. You want to be able to display to the user exactly
what he entered, unconditionally. Doing what you suggested would make the
behavior even more inconsistent.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to