From: Jean-Philippe Lang Date: Sat, 25 Feb 2012 11:48:29 +0000 (+0000) Subject: Undefined #builtin= with Rails 3.1.3. X-Git-Tag: 1.4.0~317 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=231683e8d728d68532f62b2c70169d828eef9300;p=redmine.git Undefined #builtin= with Rails 3.1.3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8997 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/db/migrate/062_insert_builtin_roles.rb b/db/migrate/062_insert_builtin_roles.rb index 25e160877..070d9285f 100644 --- a/db/migrate/062_insert_builtin_roles.rb +++ b/db/migrate/062_insert_builtin_roles.rb @@ -1,5 +1,6 @@ class InsertBuiltinRoles < ActiveRecord::Migration def self.up + Role.reset_column_information nonmember = Role.new(:name => 'Non member', :position => 0) nonmember.builtin = Role::BUILTIN_NON_MEMBER nonmember.save