Matheus Sales
Matheus Sales
### Motivation / Background This Pull Request has been created because the documentation for composite primary keys wasn't correct. ### Detail While working on `shoulda-matchers` I noticed that the documentation...
This PR adds Rubocop and code review adjustments on top of #1425: Quoting @mswiszcz: > Allows to create tests checking set foreign_type > > ```ruby > class Visitor < ActiveRecord::Base...
On this PR, we're adding the matcher for the `delegated_type` macro, which is basically a `belongs_to` polymorphic association where you define the possible classes the polymorphic relation can act as....
As part of our work to easily identify the maintainers of our open source projects, this PR adds a [CODEOWNER](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) file. What it does: Automatically include people as reviewers on...
This commit adds support for validating multiple attributes at once with `validate_presence_of`. This is useful when you want to ensure that multiple attributes are required. ```ruby class Example include ActiveModel::Model...