Skip to content

Commit

Permalink
Fixed issue in migration where Group.all(&:id) wanted to be Group.all…
Browse files Browse the repository at this point in the history
….map(&:id)
  • Loading branch information
zdennis committed Dec 3, 2009
1 parent dedd2f6 commit 165625f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20090410193313_create_news_articles.rb
Expand Up @@ -17,7 +17,7 @@ def self.up
news = Section.create!(:name => "News",
:path => "/news",
:parent => Section.root.first,
:group_ids => Group.all(&:id))
:group_ids => Group.all.map(&:id))

# Create the page to display the recent news
overview = Page.create!(:name => "Overview",
Expand Down

0 comments on commit 165625f

Please sign in to comment.