Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ReservationRequest Create (0.0ms) Mysql::Error: Column 'current_reservation_pricing_id' cannot be null: INSERT INTO `reservation_requests` (`dropoff_place_id`, `destination_stops`, `drop_off_place`, `driver_id`, `meet_inside`, `created_at`, `reserved`, `pickup_place_id`, `flight_number`, `operator_id`, `reminder_sent_at`, `company_policy_exception_id`, `admin_user_id`, `parent_trip_id`, `replaced_by_id`, `current_reservation_pricing_id`, `updated_at`, `uuid`, `operator_confirmation_num`, `ride_date`, `pickup_time`, `tc_state`, `close_expires_at`, `flight_airline`, `cancel_before_dt`, `visit_id`, `cruise_carrier`, `pickup_date_time`, `user_id`, `flight_terminal`, `search_result_id`, `reservation_type`, `cancel_fee_type`, `pickup_place`, `service_type`, `return_trip_id`, `dropoff_address_id`, `package_vehicle_id`, `pax`, `vehicle_id`, `company_id`, `wait_authorized`, `replaces_id`, `preauth_at`, `operator_cancellation_num`, `dropoff_same_as_pickup`, `cruise_ship`, `drop_off_time`, `know_before_you_go_sent_at`, `business_status`, `pickup_address_id`, `send_customer_copy`, `search_id`, `accounting_id`, `ta_user_id`, `special_requests`, `cruise_terminal`, `state`, `tp_locator`) VALUES(NULL, NULL, NULL, NULL, NULL, '2011-09-07 17:39:38', 0, NULL, NULL, 3798, NULL, NULL, NULL, NULL, NULL, NULL, '2011-09-07 17:39:38', NULL, NULL, '2011-09-08', '2000-01-01 01:00:00', 'tc_new', '2011-09-11 08:00:00', NULL, NULL, 41, NULL, '2011-09-08 08:00:00', NULL, NULL, 59482519, 2, 1, '94111', 4096, NULL, 268, NULL, 2, 32191, NULL, NULL, NULL, NULL, NULL, 1, NULL, '2000-01-01 05:00:00', NULL, 0, 267, NULL, 4766599, NULL, NULL, NULL, NULL, 'unsubmitted', NULL)
- <2011-09-07 17:39:38><DEBUG> SQL (31.6ms) ROLLBACK
- ActiveRecord::StatementInvalid (Mysql::Error: Column 'current_reservation_pricing_id' cannot be null: INSERT INTO `reservation_requests` (`dropoff_place_id`, `destination_stops`, `drop_off_place`, `driver_id`, `meet_inside`, `created_at`, `reserved`, `pickup_place_id`, `flight_number`, `operator_id`, `reminder_sent_at`, `company_policy_exception_id`, `admin_user_id`, `parent_trip_id`, `replaced_by_id`, `current_reservation_pricing_id`, `updated_at`, `uuid`, `operator_confirmation_num`, `ride_date`, `pickup_time`, `tc_state`, `close_expires_at`, `flight_airline`, `cancel_before_dt`, `visit_id`, `cruise_carrier`, `pickup_date_time`, `user_id`, `flight_terminal`, `search_result_id`, `reservation_type`, `cancel_fee_type`, `pickup_place`, `service_type`, `return_trip_id`, `dropoff_address_id`, `package_vehicle_id`, `pax`, `vehicle_id`, `company_id`, `wait_authorized`, `replaces_id`, `preauth_at`, `operator_cancellation_num`, `dropoff_same_as_pickup`, `cruise_ship`, `drop_off_time`, `know_before_you_go_sent_at`, `business_status`, `pickup_address_id`, `send_customer_copy`, `search_id`, `accounting_id`, `ta_user_id`, `special_requests`, `cruise_terminal`, `state`, `tp_locator`) VALUES(NULL, NULL, NULL, NULL, NULL, '2011-09-07 17:39:38', 0, NULL, NULL, 3798, NULL, NULL, NULL, NULL, NULL, NULL, '2011-09-07 17:39:38', NULL, NULL, '2011-09-08', '2000-01-01 01:00:00', 'tc_new', '2011-09-11 08:00:00', NULL, NULL, 41, NULL, '2011-09-08 08:00:00', NULL, NULL, 59482519, 2, 1, '94111', 4096, NULL, 268, NULL, 2, 32191, NULL, NULL, NULL, NULL, NULL, 1, NULL, '2000-01-01 05:00:00', NULL, 0, 267, NULL, 4766599, NULL, NULL, NULL, NULL, 'unsubmitted', NULL)):
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/machine.rb:1524:in `create_or_update'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:149:in `run_actions'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:169:in `catch_exceptions'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:147:in `run_actions'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:132:in `run_callbacks'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:211:in `run_callbacks'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:63:in `perform'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:63:in `catch'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:63:in `perform'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:185:in `within_transaction'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/transition_collection.rb:62:in `perform'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/state_machine-0.9.4/lib/state_machine/machine.rb:1524:in `create_or_update'
- app/models/reservation_request.rb:935:in `construct_for_new_and_save'
- app/models/reservation_request.rb:878:in `construct_for_new_and_save'
- lib/res/reservation_template.rb:37:in `perform_reservation_creation'
- app/controllers/reservation_request_controller.rb:17:in `new'
- app/middlewares/set_cookie_domain.rb:11:in `call'
- app/middlewares/set_cookie_domain.rb:11:in `call'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.4.9/lib/hoptoad_notifier/rack.rb:27:in `call'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.4.9/lib/hoptoad_notifier/user_informer.rb:12:in `call'
- unicorn (3.3.1) lib/unicorn/http_server.rb:532:in `process_client'
- unicorn (3.3.1) lib/unicorn/http_server.rb:607:in `worker_loop'
- unicorn (3.3.1) lib/unicorn/http_server.rb:605:in `each'
- unicorn (3.3.1) lib/unicorn/http_server.rb:605:in `worker_loop'
- unicorn (3.3.1) lib/unicorn/http_server.rb:496:in `spawn_missing_workers'
- unicorn (3.3.1) lib/unicorn/http_server.rb:493:in `fork'
- unicorn (3.3.1) lib/unicorn/http_server.rb:493:in `spawn_missing_workers'
- unicorn (3.3.1) lib/unicorn/http_server.rb:489:in `each'
- unicorn (3.3.1) lib/unicorn/http_server.rb:489:in `spawn_missing_workers'
- unicorn (3.3.1) lib/unicorn/http_server.rb:503:in `maintain_worker_count'
- unicorn (3.3.1) lib/unicorn/http_server.rb:161:in `start'
- unicorn (3.3.1) lib/unicorn.rb:13:in `run'
- unicorn (3.3.1) bin/unicorn_rails:208
- /usr/bin/unicorn_rails:19:in `load'
- /usr/bin/unicorn_rails:19
Add Comment
Please, Sign In to add comment