-
### Steps to reproduce
```ruby
class ThingsTodo < ApplicationRecord
belongs_to :task # without FK constraint
class Task < ApplicationRecord
has_many :things_todo, dependent: :dest…
-
I have a large Linestring (more 5600 pts), when I create my object, all work fine.
On update (without any change), I get an exception : !! #
If I update my Linestring field with only 2 pts like : '…
-
Hello there,
I have created a Project class and saved a couple of objects to the database. Those projects have attributes like delivery_deadline. Now created a class Document and instantiated it. I t…
-
### Steps to reproduce
Create an ActiveRecord model with an ActiveStorage relation. Initialize and add the associated attachment. Cast the object to another subclassed model, the associated attachmen…
-
### ⚠️ Disclaimer: please double check if this proposal makes sense
## Is your feature request related to a problem? Please describe.
A new cop to check for the usage of `none?` instead of `!ex…
-
Real-world example of the problem:
Given
- DB column `contacts.country_code` (which contains postal address country code) has some value that has lost its validity over time (ISO 3166-1 alpha-2 ma…
-
https://github.com/LendingHome/zero_downtime_migrations
-
Hello! Experimenting with the gem with a basic rails api - any suggestions on a good entry point/mechanism for customizing the JSON output of a ActiveRecord attribute storing a Tod::TimeOfDay? I'd lik…
-
I'm using Garner in a project (really, a couple projects) where we don't ever need to bind to ActiveRecord or Mongoid objects. Instead, we want to cache certain data (the roles to which a user belongs…
-
Not sure if this is open for discussion, but I'm not particularly fond of the way that this method adds setters for the enumerated attribute. Specifically, I don't like that it throws argument errors…