Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started POST "/rental_units/9" for 127.0.0.1 at Mon Jun 27 20:32:33 +0600 2011
- Processing by RentalUnitsController#update as HTML
- Parameters: {"rental_unit"=>{"name"=>"assdasd, asdas, asda, as, USA", "address"=>"assdasd", "city"=>"asdas", "floors"=>"3", "zip"=>"as", "bedrooms"=>"4", "weekly_low_price"=>"543", "sq_footage"=>"2", "sleeps"=>"6", "bathrooms"=>"1", "description"=>"Fodoj House", "nightly_low_price"=>"12", "nightly_high_price"=>"124", "booking_link"=>"", "night_minimum"=>"55", "vrbo_id"=>"", "state"=>"asda", "weekly_high_price"=>"4354534", "year_built"=>"5"}, "commit"=>"Verify & Save", "photo_ids"=>["98"], "authenticity_token"=>"xNHh/uMRWM8kcqoqGDb28lbuV43XCf5XEThEwi2eyOU=", "utf8"=>"\342\234\223", "id"=>"9", "new_amenity"=>"", "primary_photo_id"=>"0"}
- User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."fb_user_id" = '1561794357' LIMIT 1
- SQL (0.3ms) BEGIN
- SQL (0.6ms) INSERT INTO "delayed_jobs" ("run_at", "locked_by", "last_error", "priority", "handler", "created_at", "attempts", "updated_at", "failed_at", "locked_at") VALUES ('2011-06-27 14:32:33.683420', NULL, NULL, 0, '--- !ruby/struct:Delayed::PerformableMethod
- object: !ruby/ActiveRecord:User
- attributes:
- session_expires_at:
- authorize_signature: 207114539328990|96fd4c3d9db2955c037a85ab.1-1561794357|KHEQUsWSze1qidBIfEzRW1htSVE
- company: FJCorp
- referral_id:
- app_api_key:
- created_at: 2011-05-08 08:53:24.399349
- sms_starting_at: "18:00:00"
- valid_country: f
- session_key: 96fd4c3d9db2955c037a85ab.1-1561794357
- linked_account_ids:
- redeemed_rewards:
- authorized_at:
- fb_user_id: "1561794357"
- updated_at: 2011-06-27 14:30:57.116629
- twitter_name:
- fake_fb_uid: "1"
- fb_updated_at:
- fb_friend_ids:
- fb_location: Perm, Russia
- fb_location_update_at: 2011-05-08 08:53:27.178155
- fb_lng: "56.2352792"
- subscription_plan: advanced
- admin: t
- yahoo_id: ""
- notification_channels: |
- ---
- - ""
- - email
- id: "1"
- update_fb_wall: f
- referral_token: 9c81317f097b7de4ac21e406a88a61b93c45c2b7
- fake_friend_ids:
- has_billing_info: t
- twitter_token:
- last_poll_time: 2011-06-27 14:30:57.114616
- accepted_terms_of_use: t
- last_name: ""
- phone: ""
- sms_ending_at: "15:00:00"
- referral_updated_at:
- fb_first_name: Fodoj
- vrbo_password: qweqwe
- twitter_secret:
- middle_initial:
- use_fb_profile: t
- fb_lat: "57.9971695"
- fb_friends_update_at:
- time_zone:
- update_twitter: f
- email: fodojyko@gmail.com
- vrbo_login: fodojyko@gmail.com
- first_name: ""
- fb_last_name: Yodov
- method_name: :get_fb_friend_ids!
- args: []
- ', '2011-06-27 14:32:33.683596', 0, '2011-06-27 14:32:33.683596', NULL, NULL) RETURNING "id"
- SQL (2.1ms) COMMIT
- SQL (0.3ms) BEGIN
- SQL (0.7ms) INSERT INTO "delayed_jobs" ("run_at", "locked_by", "last_error", "priority", "handler", "created_at", "attempts", "updated_at", "failed_at", "locked_at") VALUES ('2011-06-27 14:32:33.845632', NULL, NULL, 0, '--- !ruby/struct:Delayed::PerformableMethod
- object: !ruby/ActiveRecord:User
- attributes:
- session_expires_at:
- authorize_signature: 207114539328990|96fd4c3d9db2955c037a85ab.1-1561794357|KHEQUsWSze1qidBIfEzRW1htSVE
- company: FJCorp
- referral_id:
- app_api_key:
- created_at: 2011-05-08 08:53:24.399349
- sms_starting_at: "18:00:00"
- valid_country: f
- session_key: 96fd4c3d9db2955c037a85ab.1-1561794357
- linked_account_ids:
- redeemed_rewards:
- authorized_at:
- fb_user_id: "1561794357"
- updated_at: 2011-06-27 14:30:57.116629
- twitter_name:
- fake_fb_uid: "1"
- fb_updated_at:
- fb_friend_ids:
- fb_location: Perm, Russia
- fb_location_update_at: 2011-05-08 08:53:27.178155
- fb_lng: "56.2352792"
- subscription_plan: advanced
- admin: t
- yahoo_id: ""
- notification_channels: |
- ---
- - ""
- - email
- id: "1"
- update_fb_wall: f
- referral_token: 9c81317f097b7de4ac21e406a88a61b93c45c2b7
- fake_friend_ids:
- has_billing_info: t
- twitter_token:
- last_poll_time: 2011-06-27 14:30:57.114616
- accepted_terms_of_use: t
- last_name: ""
- phone: ""
- sms_ending_at: "15:00:00"
- referral_updated_at:
- fb_first_name: Fodoj
- vrbo_password: qweqwe
- twitter_secret:
- middle_initial:
- use_fb_profile: t
- fb_lat: "57.9971695"
- fb_friends_update_at:
- time_zone:
- update_twitter: f
- email: fodojyko@gmail.com
- vrbo_login: fodojyko@gmail.com
- first_name: ""
- fb_last_name: Yodov
- method_name: :get_fb_friend_ids!
- args: []
- ', '2011-06-27 14:32:33.845846', 0, '2011-06-27 14:32:33.845846', NULL, NULL) RETURNING "id"
- SQL (1.0ms) COMMIT
- RentalUnit Load (1.1ms) SELECT "rental_units".* FROM "rental_units" WHERE "rental_units"."id" = 9 AND ("rental_units".user_id = 1) LIMIT 1
- Photo Load (0.6ms) SELECT "photos".* FROM "photos" WHERE (rental_unit_id = 9)
- Photo Load (0.6ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" IN (98)
- CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE (rental_unit_id = 9)
- CACHE (0.0ms) SELECT "photos".* FROM "photos" WHERE (rental_unit_id = 9)
- Completed in 195ms
- NoMethodError (undefined method `find_by_id' for []:Array):
- app/models/rental_unit.rb:302:in `save_photos'
- app/controllers/rental_units_controller.rb:219:in `update_resource'
- app/controllers/rental_units_controller.rb:45:in `update'
- lib/fb_post_canvas_hack.rb:17:in `call'
- Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
- Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (35.4ms)
- Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (43.2ms)
Add Comment
Please, Sign In to add comment