Scott Holland wrote:
> Hello,
> 
> I'm probably being really dumb but I can never figure this out.
> 
> I want to store things like categories, salutations, image type etc etc
> but it seems dumb to create a database table for each of these.

It's not dumb to put these in the database.

> 
> Is there any way I store this structured data in XML or YML so I can
> still call:
> 
> asset.category.name etc?
> 
> Thanks!

YAML might work well here.  XML is almost always overkill.

> 
> Scott

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