top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

RoR: How can I disable email delivery in development mode?

0 votes
353 views

Is it any way to disable email delivery in development mode? If yes then please suggest?

posted Jun 23, 2014 by Deepankar Dubey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

You can test which environment is currently running and not send the email in development.

Check the following link http://apidock.com/rails/Rails/env/class should be helpful

answer Jun 23, 2014 by Honey
Similar Questions
+2 votes

How to set up a means to automatically send an email from certain parts of troubled code, that is, very often, code that might appear in the Rescue predicate of a begin.....rescue, so as to track down issues remotely.

Surely there must be a gem for such? If not, how might one construct something like this in code?

+1 vote

I deployed one small app in heroku built on ROR, now I want to send mails. How is it possible can anyone give me a details how to do it.

0 votes

I need to display some charts/graphs based upon user inputs on my web application built using Ruby on Rails.
Are there any charting libraries out there that I could use with ROR for displaying simple bar, line and pie graphs?

...