Sha256: 097487fd06a3fe2d6988ce156a540ee80467f3ba7aa3dd15ad8e2efe3b822a1b
Contents?: true
Size: 794 Bytes
Versions: 3
Compression:
Stored size: 794 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) <% if options[:remote_users] -%> u = User.new(:name => "Root", :login => "root") u.id = 0 u.save <% end -%> 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 <% if options[:remote_users] -%> c.modified_by = u <% else -%> # TODO maybe a modified_by= assignment is missing <% end -%> c.save
Version data entries
3 entries across 3 versions & 1 rubygems