Skip to content

Instantly share code, notes, and snippets.

@justindthomas
Created June 28, 2012 17:28
Show Gist options
  • Save justindthomas/3012689 to your computer and use it in GitHub Desktop.
Save justindthomas/3012689 to your computer and use it in GitHub Desktop.
Potential bug in photo.rb
Started POST "/photos?photo%5Bpending%5D=true&photo%5Baspect_ids%5D=all&photo%5Bset_profile_photo%5D=true&qqfile=justin.jpg" for 71.193.134.108 at 2012-06-28 10:26:56 -0700
Processing by PhotosController#create as HTML
Parameters: {"photo"=>{"pending"=>"true", "aspect_ids"=>"all", "set_profile_photo"=>"true"}, "qqfile"=>"justin.jpg"}
Receving public post from person:2098
Completed 500 Internal Server Error in 3897ms
ArgumentError (Unknown region: "us-west-2"):
app/models/photo.rb:83:in `diaspora_initialize'
app/models/user.rb:268:in `build_post'
app/controllers/photos_controller.rb:177:in `legacy_create'
app/controllers/photos_controller.rb:55:in `block in create'
app/controllers/photos_controller.rb:205:in `rescuing_photo_errors'
app/controllers/photos_controller.rb:44:in `create'
lib/rack/chrome_frame.rb:39:in `call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment