How to store different site parameters in database with Rails?

Posted by Igor Alexandrov on Stack Overflow See other posts from Stack Overflow or by Igor Alexandrov
Published on 2010-01-29T05:32:09Z Indexed on 2010/04/14 5:03 UTC
Read the original article Hit count: 249

Filed under:
|

Hello. There are a lot of ways to store site preferences in database. But what if I need to manage datatypes. So some preferences will be boolean, others strings, others integers.

How can I organize such store?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about activerecord