On Sep 17, 9:04 am, Marcos Müller <[email protected]> wrote:
> Hello everyone,
>
> I'm starting learning ruby on rails and i have a question that maybe is more
> about ruby but anyway.
>
> I have a table with 2 columns type and value and i would like to create a
> select that had like options all the values but for certain types they
> should appear as the text.
Before you go any further I suggest that you read
http://en.wikipedia.org/wiki/Entity-attribute-value_model,
particularly the caveats listed at the bottom of the article. Except
in extraordinary circumstances adopting an eav model defeats the
purpose of a relational database system from the outset.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---