I am currently using (or trying to use) a lookup table to represent a column containing an enumerated row. I had extensive discussions with my team to make sure that this is the direction we want to go, and decided to continue it, but, unfortunately, none of us knows how to associate a lookup table with a column using migration, and if There are changes that need to be made in the model / controller / views to support this new behavior.
I studied this problem extensively and did not find any good examples for this, so I hope someone can tell me a wonderful link to a tutorial that I just skipped in my search, or describe how to do this. I would also like to know if there is an unofficial (or official) Railsy image for this.
Thanks in advance.
ruby ruby-on-rails lookup-tables
jaydel
source share