Sha256: 82d611fcf2079db77bfbf618a038b0095420a49a208a7fff37f0d369b1ba35a8

Contents?: true

Size: 239 Bytes

Versions: 176

Compression:

Stored size: 239 Bytes

Contents

# generado con pg_rails

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

Version data entries

176 entries across 176 versions & 2 rubygems

Version Path
pg_rails-7.6.28 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.27 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.26 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.25 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.24 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.24.pre.5 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.24.pre.4 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.24.pre.3 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.23 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.22 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.22.pre.3 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.22.pre.2 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.22.pre.1 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.21 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.21.pre.11 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.21.pre.10 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.21.pre.9 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.21.pre.8 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.21.pre.7 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.6.21.pre.6 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb