Sha256: bd3dd1baace6944720727ff94e44e6e6807dc3dad33acb6450d1798d64a60973

Contents?: true

Size: 149 Bytes

Versions: 9

Compression:

Stored size: 149 Bytes

Contents

class <%= name.camelize %>Record < ActiveRecord::Base
  self.abstract_class = true
  establish_connection :"<%= name.underscore %>_#{Rails.env}"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
multiverse-0.2.2 lib/generators/multiverse/templates/record.rb.tt
multiverse-0.2.1 lib/generators/multiverse/templates/record.rb.tt
multiverse-0.2.0 lib/generators/multiverse/templates/record.rb
multiverse-0.1.2 lib/generators/multiverse/templates/record.rb
multiverse-0.1.1 lib/generators/multiverse/templates/record.rb
multiverse-0.1.0 lib/generators/multiverse/templates/record.rb
multiverse-0.0.3 lib/generators/multiverse/templates/record.rb
multiverse-0.0.2 lib/generators/multiverse/templates/record.rb
multiverse-0.0.1 lib/generators/multiverse/templates/record.rb