Converts \r\n characters to \n for attributes on ActiveModel-like entities.
Add this line to your application's Gemfile:
gem 'normalize_line_endings'
And then execute:
$ bundle
Or install it yourself as:
$ gem install normalize_line_endings
Run tests by cd'ing to the root of the gem directory and running rake