Sha256: 0f357d0f646ba7400cabc2125a506851eb25efeb25d3ffbef223448304458bbf

Contents?: true

Size: 207 Bytes

Versions: 83

Compression:

Stored size: 207 Bytes

Contents

<% module_namespacing do -%>
class <%= abstract_class_name %> < ApplicationRecord
  self.abstract_class = true

  connects_to database: { <%= ActiveRecord.writing_role %>: :<%= database -%> }
end
<% end -%>

Version data entries

83 entries across 80 versions & 8 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activerecord-7.1.3.4/lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-8.0.1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-8.0.0.1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.2.2.1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.1.5.1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.0.8.7 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-8.0.0 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.2.2 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.1.5 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-8.0.0.rc2 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.2.1.2 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.1.4.2 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.0.8.6 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-8.0.0.rc1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.2.1.1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.1.4.1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-7.0.8.5 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
activerecord-8.0.0.beta1 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
omg-activerecord-8.0.0.alpha9 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt
omg-activerecord-8.0.0.alpha8 lib/rails/generators/active_record/model/templates/abstract_base_class.rb.tt