Sha256: 76a14b08a605e3aafe2c2725a3508b0f74910a5566383f962ab38ebce664b500
Contents?: true
Size: 346 Bytes
Versions: 16
Compression:
Stored size: 346 Bytes
Contents
class Add<%= formatted_locale.camelize %>Translation < ActiveRecord::Migration def change <%- translated_columns.each do |column_hash| %> add_column(:qbrick_pages, "<%= get_attribute column_hash %>", :<%= get_type column_hash %>) unless Qbrick::Page.column_names.include?("<%= get_attribute column_hash %>") <%- end %> end end
Version data entries
16 entries across 16 versions & 1 rubygems