{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/rails-project-full-stack-app/issues/38","labels_url":"https://api.github.com/repos/ga-wdi-boston/rails-project-full-stack-app/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/rails-project-full-stack-app/issues/38/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/rails-project-full-stack-app/issues/38/events","html_url":"https://github.com/ga-wdi-boston/rails-project-full-stack-app/issues/38","id":116355353,"number":38,"title":"Parameters error when creating property from browser/javascript. Works with curl. Details below. Cannot resolve.","user":{"login":"bbarbersox","id":14171025,"avatar_url":"https://avatars.githubusercontent.com/u/14171025?v=3","gravatar_id":"","url":"https://api.github.com/users/bbarbersox","html_url":"https://github.com/bbarbersox","followers_url":"https://api.github.com/users/bbarbersox/followers","following_url":"https://api.github.com/users/bbarbersox/following{/other_user}","gists_url":"https://api.github.com/users/bbarbersox/gists{/gist_id}","starred_url":"https://api.github.com/users/bbarbersox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbarbersox/subscriptions","organizations_url":"https://api.github.com/users/bbarbersox/orgs","repos_url":"https://api.github.com/users/bbarbersox/repos","events_url":"https://api.github.com/users/bbarbersox/events{/privacy}","received_events_url":"https://api.github.com/users/bbarbersox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-11T15:18:53Z","updated_at":"2015-11-11T16:18:54Z","closed_at":null,"body":"Error when PropertiesController invoked from Browser\r\n\r\nStarted POST \"/properties\" for ::1 at 2015-11-11 09:55:22 -0500\r\nProcessing by PropertiesController#create as HTML\r\nParameters: {\"{\\\"property\\\":{\\\"no\\\":\\\"12\\\",\\\"street\\\":\\\"Fuller Street\\\",\\\"city\\\":\\\"Sheldon\\\",\\\"state\\\":\\\"NH\\\",\\\"zip\\\":\\\"34876\\\",\\\"house_mgmt_co\\\":\\\"Holsten Holdings\\\",\\\"manager\\\":\\\"Matt Savrest\\\",\\\"user_id\\\":3}}\"=>nil}\r\nUser Load (1.5ms) SELECT \"users\".* FROM \"users\" WHERE \"users\".\"token\" = $1 LIMIT 1 [[\"token\", \"4cc8af9ed51fe85dd117c0d615a2621a\"]]\r\nCompleted 400 Bad Request in 5ms (ActiveRecord: 1.5ms)\r\n\r\nActionController::ParameterMissing (param is missing or the value is empty: property):\r\napp/controllers/properties_controller.rb:48:in property_params' app/controllers/properties_controller.rb:18:increate'\r\n\r\nRendered /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms)\r\nRendered /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)\r\nRendered /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)\r\nRendered /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (43.6ms)\r\n\r\nSuccessful completion when add property invoked via curl\r\nStarted POST \"/properties\" for ::1 at 2015-11-11 10:07:22 -0500\r\nProcessing by PropertiesController#create as /\r\nParameters: {\"property\"=>{\"no\"=>\"56\", \"street\"=>\"Weston Drive\", \"city\"=>\"Ashton\", \"state\"=>\"KY\"}}\r\nUser Load (0.2ms) SELECT \"users\".* FROM \"users\" WHERE \"users\".\"token\" = $1 LIMIT 1 [\"token\", \"4cc8af9ed51fe85dd117c0d615a2621a\"] BEGIN\r\nSQL (1.0ms) INSERT INTO \"properties\" (\"no\", \"street\", \"city\", \"state\", \"user_id\", \"created_at\", \"updated_at\") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING \"id\" [\"no\", \"56\"], [\"street\", \"Weston Drive\"], [\"city\", \"Ashton\"], [\"state\", \"KY\"], [\"user_id\", 3], [\"created_at\", \"2015-11-11 15:07:22.955276\"], [\"updated_at\", \"2015-11-11 15:07:22.955276\"] COMMIT\r\nCompleted 201 Created in 17ms (Views: 1.8ms | ActiveRecord: 2.4ms)"},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/rails-project-full-stack-app/issues/comments/155832664","html_url":"https://github.com/ga-wdi-boston/rails-project-full-stack-app/issues/38#issuecomment-155832664","issue_url":"https://api.github.com/repos/ga-wdi-boston/rails-project-full-stack-app/issues/38","id":155832664,"user":{"login":"srhoulam","id":7725148,"avatar_url":"https://avatars.githubusercontent.com/u/7725148?v=3","gravatar_id":"","url":"https://api.github.com/users/srhoulam","html_url":"https://github.com/srhoulam","followers_url":"https://api.github.com/users/srhoulam/followers","following_url":"https://api.github.com/users/srhoulam/following{/other_user}","gists_url":"https://api.github.com/users/srhoulam/gists{/gist_id}","starred_url":"https://api.github.com/users/srhoulam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srhoulam/subscriptions","organizations_url":"https://api.github.com/users/srhoulam/orgs","repos_url":"https://api.github.com/users/srhoulam/repos","events_url":"https://api.github.com/users/srhoulam/events{/privacy}","received_events_url":"https://api.github.com/users/srhoulam/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T16:18:54Z","updated_at":"2015-11-11T16:18:54Z","body":"You can ask further questions here if necessary or close it if your issue is resolved."}}