Re: [Rails] Re: New to Ruby on Rails - Assigning variation (like size or color) to products

2012-02-26 Thread Kisha M Richardson
Hey Eric, Thanks for the book recommedations - I will definitely pick all if them up. Will also try your solutions for adding a variant, per instructions below. Again, thanks for the help! It is much appreciated. Sincerely, Kisha On Sat, Feb 25, 2012 at 11:52 AM, Eric L. li...@ruby-forum.com

[Rails] Re: New to Ruby on Rails - Assigning variation (like size or color) to products

2012-02-25 Thread Eric L.
Top 3 book for Rails/Ruby Development 1. The Ruby Programming Language by David Flanagan Yukihiro Matsumoto or 1. Programming Ruby 1.9 (3rd edition): The Pragmatic Programmers' Guide by by Dave Thomas, with Chad

[Rails] Re: New to Ruby on Rails - Assigning variation (like size or color) to products

2012-02-24 Thread alexpls
Hi Kisha, I'm new to Rails too so my answer my not be perfect, but here's a try anyway... I think you're overcomplicated the Product model with product_instance. To allow each Product to have different size options I would look into storing serialized data in your products table in a column