Displaying 1 result from an estimated 1 matches for "new_shopping_cart".
2006 Apr 05
1
an instance of one model in another model''s definition?
Hi all,
I am creating a multiple-storefront shopping cart in Rails, and have run
into a small problem. In addition to the cart, line-item, product, and
order models (pretty much standard for this sort of thing), I have a
Storefront model which locates the current storefront (by examining the
domain name), and initializes itself. This works fine throughout, and by
declaring a