I am understanding better what you mean. I was referring to if you have a config that is of boolean type, another config that is integer and another that is of float type. I was picturing one table per type.
Tiago Veloso ti.vel...@gmail.com On May 8, 2011, at 20:27 , Colin Law wrote: > On 8 May 2011 17:49, Tiago Veloso <ti.vel...@gmail.com> wrote: >> Hi Colin, >> >> I see how could that go, but what If my configurations are of different >> types? > > I don't understand what you mean. > >> >> Is there a gem that provides some helper methods that you could recommend? > > I don't know of one. It hardly seems worthwhile for a table with one > record and whatever fields you want. Perhaps I don now understand > your comment above. You are thinking of one row per item. Instead > make it one record with a field for each constant of whatever type is > appropriate. > > Colin > > -- > 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 rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.