##// END OF EJS Templates
Undefined #builtin= with Rails 3.1.3....
Jean-Philippe Lang -
r8877:231683e8d728
parent child
Show More
@@ -1,5 +1,6
1 class InsertBuiltinRoles < ActiveRecord::Migration
1 class InsertBuiltinRoles < ActiveRecord::Migration
2 def self.up
2 def self.up
3 Role.reset_column_information
3 nonmember = Role.new(:name => 'Non member', :position => 0)
4 nonmember = Role.new(:name => 'Non member', :position => 0)
4 nonmember.builtin = Role::BUILTIN_NON_MEMBER
5 nonmember.builtin = Role::BUILTIN_NON_MEMBER
5 nonmember.save
6 nonmember.save
General Comments 0
You need to be logged in to leave comments. Login now