Class variables with migrations

I want to have class variables that are used for static choice arrays
for select boxes (ie CAR_MAKE = [‘GM’,‘Toyota’,‘Ford’,…]). I think
the best place to put these are with the model class but then how are
they specified with migrations ?

You could also define these constants in config/environment.rb

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs