Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Build up items in an array of hashes #3

Open
ryanb opened this issue Jul 1, 2009 · 0 comments
Open

Build up items in an array of hashes #3

ryanb opened this issue Jul 1, 2009 · 0 comments

Comments

@ryanb
Copy link
Owner

ryanb commented Jul 1, 2009

Sometimes it's not applicable to do a loop because it is limited in how the nesting works. Instead one should be able to build up an array of hashes and assign it in one call.

Item.populate [{:name => "foo"}, {:name => "bar"}]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant