search for: purchaseitem

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

Did you mean: purchase_item
2006 Jul 16
3
Binding text_field et al to object.attribute.name
Hi all, Suppose I have a PurchaseItem model which refers to Product model... class Product < ActiveRecord::Base has_many :purchase_items end class PurchaseItem < ActiveRecord::Base belongs_to :product end To keep things simple, one of the attribute of the Product model is title. On the interface, I have a textfield th...