Store attribute translations inside one column.
Add this line to your application's Gemfile:
gem 'sato'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sato
TODO
After checking out the repo, run bin/setup
to install
dependencies. Then, run bin/console
for an interactive prompt that
will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
To release a new version, update the version number in version.rb
, and
then run bundle exec rake release
to create a git tag for the version,
push git commits and tags, and push the .gem
file to
rubygems.org.
- Fork it ( https://github.com/[my-github-username]/sato/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Only one sentence on first line, no dot
- Reference issues and pull requests liberally
- Consider starting the commit message with an applicable emoji:
- 💻
:computer:
when working on features - 🔧
:wrench:
when modifying application configuration - ☁️
:cloud:
when modifying deployment configuration - 📝
:memo:
when writing documentation - 🐛
:bug:
when fixing a bug - 🔥
:fire:
when removing code or files - ✅
:white_check_mark:
when adding tests - 🔒
:lock:
when dealing with security - 🎨
:art:
when improving the format/structure of the code - 🐎
:racehorse:
when improving performance - 💎
:gem:
when changing gem - ⬆️
:arrow_up:
when upgrading dependencies - ⬇️
:arrow_down:
when downgrading dependencies -
:octocat:
when making repository changes
- 💻