Sha256: 6c3cd00680d1234ea15735d90a6bd9fafd68b2d9f07d487f890ed1739405a4d9

Contents?: true

Size: 166 Bytes

Versions: 195

Compression:

Stored size: 166 Bytes

Contents

<% module_namespacing do -%>
module <%= class_path.map(&:camelize).join('::') %>
  def self.table_name_prefix
    '<%= class_path.join('_') %>_'
  end
end
<% end -%>

Version data entries

195 entries across 164 versions & 16 rubygems

Version Path
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.22.5/lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.22.5 lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.22.4 lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.22.3 lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.22.2 lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.22.1 lib/rails/generators/active_record/model/templates/module.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.22 lib/rails/generators/active_record/model/templates/module.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.12/lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.21 lib/rails/generators/active_record/model/templates/module.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/rails/generators/active_record/model/templates/module.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/rails/generators/active_record/model/templates/module.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/rails/generators/active_record/model/templates/module.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/rails/generators/active_record/model/templates/module.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/rails/generators/active_record/model/templates/module.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.20 lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.19 lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.18 lib/rails/generators/active_record/model/templates/module.rb
activerecord-3.2.17 lib/rails/generators/active_record/model/templates/module.rb