search for: i_attributes

Displaying 1 result from an estimated 1 matches for "i_attributes".

Did you mean: p_attributes
2006 Mar 09
1
[TIP] Making an intelligent form fields
...ter "2%", "2.0 %", "2.1 % ", etc. and everything is acceptable. We can now create value object for money so field "54,20 EUR" is perfectly acceptable. And there can be objects for entering date like "+3 days" and so on. The mechanizm for "i_attributes" can be enhanced similiary as Date is expanded into form fields. So for example we can have aggregation composed_of :i_amount, :class_name => ''Amount'', :map => [%w(a_count count), %w(a_units units)] And then helper used like amount_field '...