Hi All,

Ticket #2322 is about the form helper methods (i.e text_field and the
equivalent form_for methods) accessing attribute_before_type cast,
rather than methods on the model (as implied by the documentation).

This means that you can't display model attributes in form fields in a
specific format.

What is the desired behaviour/api here? Do we want to add a parameter
that says "call model method"? Call the model method if it is there?
Or just ignore it and change the docs?

I'll whip up a patch in any case :)

Cheers,

Nik

-- 
Nik Wakelin
(027) 424 5433
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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