Sha256: cd4df8a08a766837fe1632c73aec04a7aa9eb2372231803fcd25ccd473f39ce3
Contents?: true
Size: 634 Bytes
Versions: 15
Compression:
Stored size: 634 Bytes
Contents
Setup ===== Add column "cached_tag_list" to your model. Example migration: def self.up add_column :tickets, :cached_tag_list, :string end Create table "taggings" and "tags". Example migration: create_table "taggings", :force => true do |t| t.integer "tag_id" t.integer "taggable_id" t.string "taggable_type" t.datetime "created_at" end add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id" add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type" create_table "tags", :force => true do |t| t.string "name" end
Version data entries
15 entries across 15 versions & 2 rubygems