search for: pictures_index_picturable_id

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

2006 Apr 02
2
rails db indexing and through association
...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!" | -- Orwell, 1984, 1948 `----