lib/generators/resty/setup/templates/seeds.rb in resty-generators-0.7.1 vs lib/generators/resty/setup/templates/seeds.rb in resty-generators-0.7.2

- old
+ new

@@ -4,10 +4,10 @@ # Examples: # # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) # Mayor.create(:name => 'Daley', :city => cities.first) <% if options[:remote_users] -%> -u = User.new(:name => "Root", :login => "root") +u = User.new(:name => "System", :login => "system") u.id = 0 u.save <% end -%> c = Configuration.instance