Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle situations when Rails module is defined without env
Gems like rails-html-sanitizer open Rails namespace without requiring Rails. Instead check if Rails.env is defined. Similar to: rails/activeresource#216
- Loading branch information