RubyGems.org

dirty_url

0.0.1

By 'default', Rails has a difficult time figuring out when it is supposed to show relative URLs in mailers and even when doing comparisons in specs, the URL returned tends to be non-deterministic. Using this gem, Rails will always return the proper URL based on the environment you are executing in.

installgem install dirty_url
Authors

jfelchner

321 total downloads 321 for this version
Owners

A9bc1698acb70d50a0ac10e0bb846153

Gemfile
gem 'dirty_url', '~> 0.0.1'
Versions
  1. 0.0.1 March 26, 2014 (5 KB)
Runtime Dependencies
  1. rails < 5.0, >= 3.1
Ruby Dependency
  1. >= 0