Ruby on Rails Friday, November 13, 2015

On 13 November 2015 at 10:10, Sireesh Sowreddy <lists@ruby-forum.com> wrote:
> Hi to all,
> if i want to impliment dynamic dropdown i need to store those into
> database?

If they are constants then you can just declare them as constants. I
generally find that 'constants' of that type tend to be rather
variable with time so it may be better to seed them into the database
anyway.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLszO4R3aK8ua7Fzn2DYv%2B0jQH5UcyEJVbaEfyCQkcLyOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment