Permalink
Browse files

Fixed issue in migration where Group.all(&:id) wanted to be Group.all…

….map(&:id)
  • Loading branch information...
1 parent dedd2f6 commit 165625f4db077b77cfed022918164d8fbb753c42 @zdennis zdennis committed Dec 3, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrate/20090410193313_create_news_articles.rb
View
2 db/migrate/20090410193313_create_news_articles.rb
@@ -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",

0 comments on commit 165625f

Please sign in to comment.