Permalink
Browse files

Ups #2

  • Loading branch information...
1 parent 198ea44 commit 18d219dc59d5a505dcd49ed99c371906cc4ee7a2 @pyromaniac pyromaniac committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrate/20120817143224_add_locale_to_page_parts.rb
@@ -1,7 +1,7 @@
class AddLocaleToPageParts < ActiveRecord::Migration
def self.up
add_column :page_parts, :locale, :string
- Page.update_all :locale => I18n.default_locale
+ PagePart.update_all :locale => I18n.default_locale
end
def self.down

2 comments on commit 18d219d

git commit --amend && git push -f

Owner

pyromaniac replied Nov 6, 2012

Нет, пусть все видят - мне нечего скрывать )

Please sign in to comment.