Sha256: 6cfadbfdce54522c5c56207c425b265f9f7130e13b076d8005834453efdc228c
Contents?: true
Size: 221 Bytes
Versions: 1
Compression:
Stored size: 221 Bytes
Contents
class Add<%= column.to_s.camelize %>To<%= model_name.capitalize %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change add_column :<%= model_name %>, :<%= column %>, :text end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lexoranking-0.1.3 | lib/generators/lexoranking/templates/migration.rb.tt |