Skip to content

Instantly share code, notes, and snippets.

@meineerde
Created May 5, 2010 17:15
Show Gist options
  • Select an option

  • Save meineerde/391103 to your computer and use it in GitHub Desktop.

Select an option

Save meineerde/391103 to your computer and use it in GitHub Desktop.
# put this into the console started by
# RAILS_ENV=production script/console --sandbox
user = User.find_by_login("my_login")
Mailer.deliver_test(user)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment