I have a design issue I want to walk through.

I'm building a Rails 3 app which will hold products from a variety of
different companies. I'd like to define a large set of fields and each
product can select the fields that are applicable to it.

The field types will be single line text fields, multi line text fields,
radio or select options, checkbox options, dates, durations or something
more custom. I'll need to be able to dynamically render the fields based on
this type for edit and show.

My current idea is to use MongoDB and store everything in a Hash on the
Product.

....

I just created this on stackoverflow:
http://stackoverflow.com/questions/5670975/dynamic-fields-with-rails-3

Looking for any and all suggestions, critiques and criticisms!

-- 
Dave Newman ∴ http://whatupdave.com ∴ @whatupdave<http://twitter.com/whatupdave>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com.
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to