Suppose I have a PurchaseItem model which refers to Product model…
class Product < ActiveRecord::Base
class PurchaseItem < ActiveRecord::Base
To keep things simple, one of the attribute of the Product model is
On the interface, I have a textfield that I need to bind with
text_field ‘purchase_item’, ‘product.title’ doesn’t work for me.
How to achieve this using Rails 1.1.4? Does this feature exist by
default in Edge?
Oh and one more thing, will it matter if the attribute is an
ActiveRecord object or a value object like Money?
Thank you very much.