Im just looking to make my table as dry as possible, I suppose that
the best way would be to store these values columns since that is what
they are.
Thanks for the insight,
Devin Morin
On Feb 1, 12:42 am, "Robert Pankowecki (rupert)"
<robert.pankowe...@gmail.com> wrote:
> What's wrong with "normal" way and storing them as columns ? Why do
> you think this is wrong approach ?
>
> You can also look athttp://ar.rubyonrails.org/classes/ActiveRecord/Base.html
> and read "Saving arrays, hashes, and other non-mappable objects in
> text columns". Of course using :serialize greatly reduces your ability
> to easily perform SQL queries about stored values.
>
> Robert Pankoweckihttp://robert.pankowecki.pl
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment