Globalize is a community project, and would not be here today if it were not for the support of the community of contributors that have kept it alive and running. Thank you for your support!
If you find a bug or something is not working as expected, please search through the github issues and on stackoverflow first. If you cannot find any answers related to your issue, post a new one and we will try to address it as soon as we can. Note that we prioritize Rails 4 issues (main
branch) over Rails 3 issues (3-0-stable
branch).
If you also have some idea how to fix the bug, then by all means post a pull request (see below).
Have an idea for a new feature? Great! Keep in mind though that we are trying to cut down on non-core functionality in the Globalize core and push it to separate extensions, such as globalize-accessors. If you are proposing something like this, we would prefer you to create a separate repository and gem for it.
If however your feature would improve the core functionality of Globalize, please do submit a PR, preferably to the main
branch.
Have some free time? Help us improve our code climate score by refactoring the codebase. If the tests still pass and the changes seem reasonable, we will happily merge them. As elsewhere, priority always goes to the Rails/AR 4 series (main
branch).
Globalize needs better documentation. That includes more inline comments explaining clearly what code is doing, as well as reference documentation beyond the readme -- possibly in the github wiki. Please contact us if you would like to help with documentation.
Have a bug fix, code improvement or proposed feature? Do the following:
- Fork the repository.
- Create your feature branch:
git checkout -b my_new_feature
- Commit your changes:
git commit -am 'Add some new feature'
- Push to the branch:
git push origin my_new_feature
- Submit a pull request.
For pull requests to Rails/ActiveRecord 4 version of Globalize (v3.x), post to the main
branch. For pull requests to the Rails/ActiveRecord 3.x version of Globalize (3.x), post to the 3-0-stable
branch.
When you submit the pull request, GitHub Actions will run the test suite against your branch and will highlight any failures. Unless there is a good reason for it, we do not generally accept pull requests that take Globalize from green to red.
- Ruby
- Bundler
- SQLite
- You can switch the database by adding an environment variable. See
test/support/database.rb
. - You can also configure your database configurations. See
test/support/database.yml
.
- You can switch the database by adding an environment variable. See
bundle install
bundle exec rake