Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed broken migration from Refinery core changes

  • Loading branch information...
commit e2423d528c0e0ed20234232801a555069063a64f 1 parent 751e93b
Luke Brown authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 db/migrate/20100203164921_create_testimonials.rb
View
4 db/migrate/20100203164921_create_testimonials.rb
@@ -16,7 +16,7 @@ def self.up
add_index :testimonials, :id
User.find(:all).each do |user|
- user.plugins.create(:title => "Testimonials", :position => (user.plugins.maximum(:position) || -1) +1)
+ user.plugins.create(:name => "Testimonials", :position => (user.plugins.maximum(:position) || -1) +1)
end
page = Page.create(
@@ -32,7 +32,7 @@ def self.up
end
def self.down
- UserPlugin.destroy_all({:title => "Testimonials"})
+ UserPlugin.destroy_all({:name => "Testimonials"})
Page.find_all_by_link_url("/testimonials").each do |page|
page.link_url, page.menu_match = nil
Please sign in to comment.
Something went wrong with that request. Please try again.