lib/zen/task/db.rake in zen-0.4.2 vs lib/zen/task/db.rake in zen-0.4.3
- old
+ new
@@ -75,11 +75,12 @@
user = Users::Model::User[:email => 'admin@website.tld']
group = Users::Model::UserGroup[:slug => 'administrators']
if group.nil?
group = Users::Model::UserGroup.new(
- :name => 'Administrators',
- :slug => 'administrators', :super_group => true
+ :name => 'Administrators',
+ :slug => 'administrators',
+ :super_group => true
).save
end
unless user.nil?
abort "The default user has already been inserted."