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.102 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.101 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.100 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.99 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.98 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.97 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.96 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.95 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.94 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.93 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.92 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.91 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.90 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.89 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.88 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.87 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.86 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.56 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.55 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb
pg_rails-7.0.8.pre.alpha.54 pg_scaffold/lib/generators/pg_active_record/model/templates/module.rb