TkhToolbox

This gem is part of the tkh_cms gem suite. In here we put lots of smallish utilities which can be used by different gems across the suite.

Installation

For Rails 4.0.0 and above add this line to your application's Gemfile:

gem 'tkh_toolbox', '~> 0.9'

For prior versions of Rails, use this:

gem 'tkh_toolbox', '< 0.9'

And then execute:

$ bundle

Run the following command:

    $ rake tkh_toolbox:setup

Usage

There are general purpose locale files. Look for them in the config/locales folder.

A flash view partial can be called at app/views/shared/_flash_messages.html.erb

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request