Thanks Fred On Apr 7, 11:02 am, Frederick Cheung <frederick.che...@gmail.com> wrote: > On Apr 7, 9:32 am, "johnmcau...@gmail.com" <johnmcau...@gmail.com> > wrote: > > > > > > > Hey everyone, > > > Just a quick Q. > > > Can anybody point me to some resources regarding a modeling quandary I > > am in. I have to develop a meta system that allows users to specify > > their own model variables. For instance, I have a model Team and the > > users must be able to define, through a simple web interface, > > variables such as name (specifying the variable as a string), number > > of players (specifying the variable as a drop down of numbers) and > > then other users can enter teams into the system. This is similar to > > content creation kit in drupal but a lot less "DRUPAL" and a lot more > > rails. I can put this together but think that I will end up with a > > messy application that will ultimately serve to frustrate. Has > > anybody come across discussion on this before? > > Well you could model this as Team having many attributes and the > attributes table stores key value pairs. You could separately store > which attributes are permissible for the Team model. > You might also find that a document database like couchdb makes this > less hassle. > > Fred
-- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.