Skip to content

bsh185/semblable

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published