Michael Pavling wrote:
> On 3 June 2010 15:15, Andy Jeffries <a...@andyjeffries.co.uk> wrote:
>> class UserAccount < ActiveRecord::Base
>>   serialize :meta_data, Hash
>> end
> 
> That would get it working to demo, but I *know*

Really? Or do you guess?

> that they're going to
> want to search/filter on the attributes once they have their hands on
> them, so I'd prefer to start with a DB record per attribute that gets
> assigned.

EAV is generally a bad idea.  If serialize won't work for you, then your 
best bet is probably a schemaless non-SQL database such as MongoDB or 
TokyoCabinet.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
Posted via http://www.ruby-forum.com/.

-- 
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-t...@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.

Reply via email to