/semblable

Primary LanguageRubyMIT LicenseMIT

Semblable

Converts activerecord columns to return sym object

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add semblable

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install semblable

Usage

Include Semblable un your active record class

include Semblable

Set the column's you wish to always to return a symbol type

symbolify :name

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bsh185/semblable. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

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

Code of Conduct

Everyone interacting in the Semblable project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.