Skip to content

Instantly share code, notes, and snippets.

@tacoman667
Created June 18, 2014 21:51
Show Gist options
  • Save tacoman667/ca3ccd2c36fcdafa60b2 to your computer and use it in GitHub Desktop.
Save tacoman667/ca3ccd2c36fcdafa60b2 to your computer and use it in GitHub Desktop.
#action REVIEW
[1] dailygourmet(#<CartsController>) » params
=> {
"utf8" => "✓",
"_method" => "put",
"authenticity_token" => "3q+GkF7JEXAetkvEg4QCYIULuh3jBQsNJj2Z31+KA5g=",
"cart" => {
"provide_shipping_address" => "false",
"user_address_attributes" => {
"line1" => "bB",
"line2" => "23",
"city" => "2323",
"state" => "Arizona",
"zip_code" => "2323",
"phone" => "",
"id" => "11"
},
"shipping_address_attributes" => {
"line1" => "",
"line2" => "",
"city" => "",
"state" => "",
"zip_code" => "",
"phone" => ""
}
},
"number" => "5555555555554444",
"cvv" => "123",
"date" => {
"expiration_month" => "1",
"expiration_year" => "2016"
},
"commit" => "Review",
"action" => "review",
"controller" => "carts"
}
#action UPDATE
[1] dailygourmet(#<CartsController>) » params
=> {
"utf8" => "✓",
"_method" => "put",
"authenticity_token" => "3q+GkF7JEXAetkvEg4QCYIULuh3jBQsNJj2Z31+KA5g=",
"commit" => "Buy!",
"action" => "update",
"controller" => "carts",
"format" => "10"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment