MetaOutput

ActiveRecord meta methods for attribute outputs.

Installation

Add this line to your application's Gemfile:

gem 'meta_output'

And then execute:

$ bundle

Or install it yourself as:

$ gem install meta_output

Usage

Simple meta methods for your active record models.

strip_string_attributes

Add the attributes to this method to strip leading and trailing whitespace to the output of the attribute.

License

The gem is available as open source under the terms of the MIT License.