Sha256: f0aef3d1e5426a862e67c34b129c5fc456631cf5e99469a44ecdb3478e9cd579
Contents?: true
Size: 705 Bytes
Versions: 3
Compression:
Stored size: 705 Bytes
Contents
# 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
Version data entries
3 entries across 3 versions & 1 rubygems