[Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2))

2014-06-23 Thread Jaimin Pandya
On Friday, 20 June 2014 23:42:17 UTC-5, Ruby-Forum.com User wrote: I suspect this is the email delivery blowing up - note that you'll need to configure an email service on Heroku. Could I do it by using addons? Kind regards -- Posted via http://www.ruby-forum.com/. -- You received this

[Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2))

2014-06-22 Thread Matt Jones
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

[Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2))

2014-06-20 Thread Jaimin Pandya
You do not seem to have attached the log, but rather than attach the whole thing just copy/paste the relevant lines leading up to the error. You do know that you must use postgres for heroku I hope. If it is not that then also post database.yml. I have attached Gemfile, database.yml and

Re: [Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2))

2014-06-20 Thread Colin Law
On 20 June 2014 13:12, Jaimin Pandya li...@ruby-forum.com wrote: You do not seem to have attached the log, but rather than attach the whole thing just copy/paste the relevant lines leading up to the error. You do know that you must use postgres for heroku I hope. If it is not that then also

[Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2))

2014-06-20 Thread Jaimin Pandya
On Jun 20, 2014, at 9:58 AM, Jaimin Pandya li...@ruby-forum.com wrote: Yet you have specified sqlite as the database adapter. Means I should use postgres as the database adapter in development. Is it correct? -- Posted via http://www.ruby-forum.com/. -- You received this message because

Re: [Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2))

2014-06-20 Thread Colin Law
On 20 June 2014 17:17, Jaimin Pandya li...@ruby-forum.com wrote: On Jun 20, 2014, at 9:58 AM, Jaimin Pandya li...@ruby-forum.com wrote: Yet you have specified sqlite as the database adapter. Means I should use postgres as the database adapter in development. Is it correct? I presume you

[Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2))

2014-06-20 Thread Jaimin Pandya
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])

[Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2)): sending email in production

2011-12-12 Thread Erwin
[SOLVED] but don't know why ... I changed:address  = mail.mydomain.comto :address  = localhost and it's now correctly sending the email... but why the :address  = mail.mydomain.com was running fine in the rails console ?? and not when the app is running ? any clue ? erwin On Dec

[Rails] Re: Errno::ECONNREFUSED (Connection refused - connect(2)) Act

2009-04-29 Thread Salil Gaikwad
It's done. i change two things 1] in enviorment.rb ActionMailer::Base.delivery_method = :smtp to ActionMailer::Base.delivery_method = :sendmail and 2] in config\environments\production.rb uncomment following line config.action_mailer.raise_delivery_errors = false -- Posted via