Skip to content

Instantly share code, notes, and snippets.

@gmoore
Created March 18, 2011 14:48
Show Gist options
  • Save gmoore/876187 to your computer and use it in GitHub Desktop.
Save gmoore/876187 to your computer and use it in GitHub Desktop.
Started POST "/store/checkout" for 24.103.41.198 at Fri Mar 18 14:46:59 +0000 2011
Processing by Store::CheckoutsController#create as HTML
Parameters: {"commit"=>"Purchase", "confirmation"=>"1", "athena_payment"=>{"athena_customer"=>{"last_name"=>"Musical", "phone"=>"5712417836", "first_name"=>"Billy", "email"=>"sally@fracturedatlas.org"}, "athena_credit_card"=>{"cvv"=>"984", "card_number"=>"4111111111111111", "cardholder_name"=>"Foo Mc Foo", "expiration_date(1i)"=>"2017", "expiration_date(2i)"=>"3", "expiration_date(3i)"=>"1"}, "billing_address"=>{"company"=>"Fractured Atlas", "city"=>"NEW YORK", "country"=>"United States", "postal_code"=>"21201", "street_address1"=>"248 W 35th ST", "street_address2"=>"FLOOR 10", "last_name"=>"Musical", "first_name"=>"Billy", "state"=>"New York"}}, "authenticity_token"=>"zdvqbBXLPcnnwilvqzoPtrhhTKvWikdNE2/qDEDYEDw=", "utf8"=>"✓"}
Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 2 LIMIT 1
PurchasableTicket Load (0.2ms) SELECT "purchasable_tickets".* FROM "purchasable_tickets" WHERE ("purchasable_tickets".order_id = 2)
Donation Load (0.2ms) SELECT "donations".* FROM "donations" WHERE ("donations".order_id = 2)
AREL (0.3ms) UPDATE "orders" SET "person_id" = 5, "updated_at" = '2011-03-18 14:46:59.691293' WHERE "orders"."id" = 2
Organization Load (0.3ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = 1 LIMIT 1
Rendered order_mailer/confirmation_for.html.haml within layouts/mail (20.0ms)
Completed in 749ms
ActionView::Template::Error (undefined method `ap' for #<#<Class:0x7f7a14a468f8>:0x7f7a14627998>):
5: - @order.tickets.each do |ticket|
6: %li
7: %span.price= "$#{ticket.price}"
8: = ap ticket
9: %span.name= "#{ticket.event} at #{l ticket.performance, :format => :short}"
10:
11: - unless @order.donations.empty?
app/views/order_mailer/confirmation_for.html.haml:8:in `_app_views_order_mailer_confirmation_for_html_haml___2134655666_70081154548040_0'
app/views/order_mailer/confirmation_for.html.haml:5:in `each'
app/views/order_mailer/confirmation_for.html.haml:5:in `_app_views_order_mailer_confirmation_for_html_haml___2134655666_70081154548040_0'
app/mailers/order_mailer.rb:9:in `confirmation_for'
app/models/order.rb:93:in `finish'
app/models/order.rb:76:in `pay_with'
app/models/checkout.rb:16:in `finish'
app/controllers/store/checkouts_controller.rb:23:in `create'
app/controllers/store/checkouts_controller.rb:35:in `with_confirmation'
app/controllers/store/checkouts_controller.rb:22:in `create'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment