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.1.4 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.3 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.2 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.1.pre.6 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.1.pre.5 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.1.pre.4 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.1.pre.3 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.1.pre.2 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.1.pre.1 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.1.0 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.112 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.111 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.110 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.109 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.108 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.107 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.106 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.105 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.104 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.103 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb