Nice - thanks for the tip. I got this working great now.
On Feb 19, 11:02 pm, Rick wrote:
> Looks like you're starting with ActiveRecord's so you could possibly
> take advantage of:
>
> spec_hash = Spec.find(4057).attributes
>
> and glue something together.
>
> On Feb 19, 3:54 pm, northband
Looks like you're starting with ActiveRecord's so you could possibly
take advantage of:
spec_hash = Spec.find(4057).attributes
and glue something together.
On Feb 19, 3:54 pm, northband wrote:
> Hi -
>
> What is the best way to create a nested hash from an array of objects?
>
> Here's what I'm
2 matches
Mail list logo