diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-25 11:48:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-02-25 11:48:29 +0000 |
commit | 231683e8d728d68532f62b2c70169d828eef9300 (patch) | |
tree | 58d29225569fa8f7ce6e4bd541683c19f0a6f965 /db/migrate/062_insert_builtin_roles.rb | |
parent | a98b65c2d435b3ec431edbc24bd7d6c0abc79a68 (diff) | |
download | redmine-231683e8d728d68532f62b2c70169d828eef9300.tar.gz redmine-231683e8d728d68532f62b2c70169d828eef9300.zip |
Undefined #builtin= with Rails 3.1.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/062_insert_builtin_roles.rb')
-rw-r--r-- | db/migrate/062_insert_builtin_roles.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |