Sinatra, Delayed Job problems

2012-02-15 Thread Dave
Hi, I decided to try the new Delayed Job, with Sinatra and ActiveRecord. That means 3.0 versions all around including ActiveRecord 3.2. I removed the old vendored version of delayed job, and slipped the new gems into my gem file.. did a bundle update, and uploaded all the heroku. Heroku refuses

Sendgrid problem

2012-02-15 Thread DAZ
I am trying to implement a very simple contact form using Sinatra, Pony and Sendgrid on the Cedar stack. I keep getting the following error: Net::SMTPFatalError - 550 Cannot receive from specified address : Unauthenticated senders not allowed What should be in the 'from' part of the options? ch

Re: Time Parse Problem

2012-02-15 Thread tashfeen.ekram
Thanks will try both suggestions and let you know what comes of it. I actaully noticed the problem becuase my time column in one of my models was not getting saved. It kept being save as nil. Could the problem relate to different databases being used? On my local, I use sqlite vesus PostGre on Her

Re: How to write features that don't actually use Sendgrid?

2012-02-15 Thread demetrius
You're right. I looked over Heroku's instructions for how to setup Sendgrid by creating a separate file (config/initializers/mail.rb). There is a line in there that was overriding my test settings. I've removed the last line, which is ActionMailer::Base.delivery_method = :smtp, and left that up to

Re: How to write features that don't actually use Sendgrid?

2012-02-15 Thread Chap
When you say "features" I'm assuming you're talking cucumber? In that case I believe you have a separate environments/cucumber.rb where you'll need to set the action mailer to test mode. On Feb 14, 8:42 am, demetrius wrote: > OOPS! I've exceeded my Sendgrid email limit while running my features.