dublinan/Rails-Sandbox — Issue #2: no such column product_id in line_items table...
Author: dublinan
Created: 2012-01-01 17:22:23+00:00
State: open

andre:depot andredublin$ rake db:migrate
== CombineItemsInCart: migrating =============================================
rake aborted!
An error has occurred, this and all later migrations canceled:

SQLite3::SQLException: no such column: proudct_id: SELECT SUM("line_items"."quantity") AS sum_quantity, proudct_id AS proudct_id FROM "line_items" WHERE "line_items"."cart_id" = 1 GROUP BY proudct_id

Tasks: TOP => db:migrate
(See full trace by running task with --trace)
andre:depot andredublin$ rake db:migrate
== CombineItemsInCart: migrating =============================================
rake aborted!
An error has occurred, this and all later migrations canceled:

SQLite3::SQLException: no such column: proudct_id: SELECT SUM("line_items"."quantity") AS sum_quantity, proudct_id AS proudct_id FROM "line_items" WHERE "line_items"."cart_id" = 1 GROUP BY proudct_id

Tasks: TOP => db:migrate
(See full trace by running task with --trace)
andre:depot andredublin$ rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:migrate
== CombineItemsInCart: migrating =============================================
rake aborted!
An error has occurred, this and all later migrations canceled: