search for: product_attributes

Displaying 2 results from an estimated 2 matches for "product_attributes".

2007 Oct 25
0
Shouldn't <% fields_for "company[product_attributes]", product do |form| %> return an array?
This is giving me a hash of product_attributes, but I thought it was supposed to return an array. This is shown in railscast 73 but my results are different. Am I missing something? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2006 Dec 05
7
Dynamic # of Attributes for a Model (key/val table) Get/Set?
...and somebody else has a clue as to how I can organize this data all together. Is there an ideal way of handling a dynamic number of Model attributes with (or without) using a key/value type table structure as I describe above (The ''attributes'' table defines the key, the ''product_attributes'' defines the value). Best, J -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrail...