Sha256: d787bedff0cbf3ee869a30d9a92c8f8bf8e26f914cb794c9e655244501ef16d5
Contents?: true
Size: 214 Bytes
Versions: 1
Compression:
Stored size: 214 Bytes
Contents
<% 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
five-two-nw-olivander-0.1.2.43.a | lib/generators/olivander/active_record/model/templates/module.rb.tt |