-
### Steps to reproduce*
https://github.com/DavyJonesLocker/client_side_validations/actions/runs/11739315324/job/32703578245
### Expected behavior*
Work
### Actual behavior*
```
Error:
A…
-
Hi!
I’d like to ask you to share your thoughts on how to use gem in testing. Currently, I’ve disabled the validator in the model to speed up tests, but I’m not sure if that’s the best approach. Perha…
-
**Describe the bug**
The `after_commit` and `after_transaction` event callbacks don't behave the same way around nested transactions with ActiveRecord persistence. `after_commit` runs whenever the to…
-
Given the following models:
```ruby
class User
has_many :posts
amoeba do
enable
include_association :posts
end
end
class Post
belongs_to :user, optional: false
end
``…
-
I know its easy to get started with just a string prompt, but I've been thinking an easier to use DSL for prompting might make it possible to do more complicated techniques without writing a long para…
-
I noticed that the `validate_numericality_of` matcher from [shoulda_matcher](https://github.com/thoughtbot/shoulda-matchers/blob/6f4de5ad6d0d09486c2c713fb1a0bf38169d399e/lib/shoulda/matchers/active_mo…
-
Looks like the validator in the minutes model should be updated since we aren't 'importing' minutes anymore and it appears we have minutes in the database without dates. The validator below in model…
-
Currently disabled, but :message-option on ActiveRecord validations should be respected. Tricky, because they need to be defined on the field instead on the validator - an important design goal (for m…
-
### Steps to reproduce
- Create an enum attribute backed by postgres with `validate: true`
- Create an uniqueness validation for another attribute with `scope: :enum_name`
- Provide incorrect enum …
4ndv updated
4 months ago
-
I have a polymorphic association like:
```
belongs_to :documentable, polymorphic: true
```
There are `not_null` db constraints on the related `documentable_id` and `documentable_type` columns.…
Numie updated
11 months ago