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.0.8.pre.alpha.13 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.12 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.11 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.10 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.9 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.8 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.7 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.6 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.7 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.6 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.5 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.4 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.3 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.2 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_scaffold-0.1.0 lib/generators/pg_active_record/model/templates/module.rb