Regarding code style like indentation and whitespace, follow the conventions you see used in the source already.
You can look at .rubocop.yml
and .codeclimate.yml
First, ensure that you have installed Ruby 3.1 and recent PostgreSQL.
- Fork and clone the repo.
- Run
bundle install
to install all dependencies.
Assuming that you don't see any red, you're ready to go.
- Create a new branch, please don't work in your
master
branch directly. - Add failing tests for the change you want to make. Run
rails test
to see the tests fail. - Fix stuff.
- Run
rails test
to see if the tests pass. Repeat steps 2-3 until done. - Push to your fork and submit a pull request.