<commit_before>= Letter Opener

Preview email in the browser instead of sending it. This means you do not need to set up email delivery in your development environment, and you no longer need to worry about accidentally sending a test email to someone else's address.


== Rails Setup

First add the gem to your development environment and run the +bundle+ command to install it.

  gem "letter_opener", :group => :development

Then set the delivery method in <tt>config/environments/development.rb</tt>

  config.action_mailer.delivery_method = :letter_opener<commit_msg>adding Travis CI badge<commit_after>= Letter Opener {<img src="https://secure.travis-ci.org/ryanb/letter_opener.png" />}[http://travis-ci.org/ryanb/letter_opener]

Preview email in the browser instead of sending it. This means you do not need to set up email delivery in your development environment, and you no longer need to worry about accidentally sending a test email to someone else's address.


== Rails Setup

First add the gem to your development environment and run the +bundle+ command to install it.

  gem "letter_opener", :group => :development

Then set the delivery method in <tt>config/environments/development.rb</tt>

  config.action_mailer.delivery_method = :letter_opener
{'fraction_non_alphanumeric': 0.07120253164556962, 'fraction_numerical': 0.0, 'mean_word_length': 4.856481481481482, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1485093', 'n_tokens_mistral': 346, 'n_tokens_neox': 328, 'n_words': 155}