From 231683e8d728d68532f62b2c70169d828eef9300 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 25 Feb 2012 11:48:29 +0000 Subject: [PATCH] Undefined #builtin= with Rails 3.1.3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8997 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/062_insert_builtin_roles.rb | 1 + 1 file changed, 1 insertion(+) 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