On Friday, 20 June 2014 23:42:17 UTC-5, Ruby-Forum.com User wrote:
>
> > https://devcenter.heroku.com/changelog-items/426 
> > 
> > 
> > Jaimin -- what's on line app/controllers/orders_controller.rb:56 in your 
> > app ? 
>
> In orders_controller.rb, line no. 56 as follow: 
> class OrdersController < ApplicationController 
> . 
> . 
> . 
>  def create 
>     @order = Order.new(params[:order]) 
>     @order.add_line_items_from_cart(current_cart) 
>
>     respond_to do |format|    **# Line no. 52** 
>       if @order.save 
>         Cart.destroy(session[:cart_id]) 
>         session[:cart_id] = nil 
>         OrderNotifier.received(@order).deliver    ** #line number 56 ** 
>
>
I suspect this is the email delivery blowing up - note that you'll need to 
configure an email service on Heroku.

--Matt Jones 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0a4c9c8f-eab7-4641-a782-a0320c66e7b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to