Sha256: 0aefe69f658ac1c806d739fa5c844daaf0e5dbcdc7e323261ada352afdf4b371
Contents?: true
Size: 505 Bytes
Versions: 14
Compression:
Stored size: 505 Bytes
Contents
class TagSitesDataset < Dataset::Base def load create_record Site, :mysite, :name => 'My Site', :domain => 'mysite.domain.com', :base_domain => 'mysite.domain.com', :position => 1 create_record Site, :yoursite, :name => 'Your Site', :domain => '^yoursite', :base_domain => 'yoursite.test.com', :position => 2 create_record Site, :test, :name => 'Test host', :domain => '^test\.', :base_domain => 'test.host', :position => 3 Page.current_site = sites(:test) if defined? Site end end
Version data entries
14 entries across 14 versions & 1 rubygems