search for: pictures_index_picturable_typ

Displaying 1 result from an estimated 1 matches for "pictures_index_picturable_typ".

2006 Apr 02
2
rails db indexing and through association
...table.column :content_type, :string, :limit => 100 table.column :data, :blob table.column :picturable_id, :int, :null => false table.column :picturable_type, :string, :limit => 10, :null => false end add_index :pictures, [:picturable_type], :name => "pictures_index_picturable_type" add_index :pictures, [:picturable_id], :name => "pictures_index_picturable_id" -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | "War is Peace! Freedom is Slavery! Ignorance is Strength!...