Sha256: 6aea4ab0f95b806e1f7b8932a6c72684f6a325d7e93cfd9215a8004f3e959101
Contents?: true
Size: 449 Bytes
Versions: 4
Compression:
Stored size: 449 Bytes
Contents
class Create<%= table_name.to_s.gsub("_","").titleize %> < ActiveRecord::Migration def change create_table :<%= table_name %> do |t| t.references :usable, polymorphic: true t.text :class_name t.text :message t.text :trace t.text :target_url t.text :referer_url t.text :params t.text :user_agent t.timestamps end end end
Version data entries
4 entries across 4 versions & 1 rubygems