Undefined #builtin= with Rails 3.1.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8997 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a98b65c2d4
commit
231683e8d7
|
@ -1,5 +1,6 @@
|
||||||
class InsertBuiltinRoles < ActiveRecord::Migration
|
class InsertBuiltinRoles < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
|
Role.reset_column_information
|
||||||
nonmember = Role.new(:name => 'Non member', :position => 0)
|
nonmember = Role.new(:name => 'Non member', :position => 0)
|
||||||
nonmember.builtin = Role::BUILTIN_NON_MEMBER
|
nonmember.builtin = Role::BUILTIN_NON_MEMBER
|
||||||
nonmember.save
|
nonmember.save
|
||||||
|
|
Loading…
Reference in New Issue