aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2012-02-22 23:32:59 -0800
committerPete Higgins <pete@peterhiggins.org>2012-02-22 23:32:59 -0800
commitc37461cc433150b40495cc70a095a970c62994ac (patch)
tree211b645315f4314265c930cd94daed4aaaea515e
parent1af631b501bbd8457d114805f729e8af59edeeee (diff)
downloadrefinerycms-blog-c37461cc433150b40495cc70a095a970c62994ac.tar.gz
refinerycms-blog-c37461cc433150b40495cc70a095a970c62994ac.tar.bz2
refinerycms-blog-c37461cc433150b40495cc70a095a970c62994ac.zip
Refinery::Page no longer has a position column.
-rw-r--r--db/seeds.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index eee5a4b..91018db 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -10,7 +10,6 @@ if defined?(Refinery::Page) and !Refinery::Page.exists?(:link_url => '/blog')
:title => "Blog",
:link_url => "/blog",
:deletable => false,
- :position => ((Refinery::Page.maximum(:position, :conditions => {:parent_id => nil}) || -1)+1),
:menu_match => "^/blogs?(\/|\/.+?|)$"
)