# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) # Mayor.create(:name => 'Daley', :city => cities.first) u = User.new(:name => "Root", :login => "root") u.id = 0 u.save u.modified_by = u u.save c = Configuration.instance <% if defined? Ixtlan::Errors -%> c.errors_keep_dumps = 30 <% end -%> <% if defined? Ixtlan:Audit -%> c.audit_keep_logs = 90 <% end -%> <% if defined? Ixtlan::Session -%> c.idle_session_timeout = 15 <% end -%> c.modified_by = u c.save