disposable icon indicating copy to clipboard operation
disposable copied to clipboard

Decorators on top of your ORM layer.

Results 36 disposable issues
Sort by recently updated
recently updated
newest added

Hi! I don't know if this is intended, but at the very least it might be misleading. It turns out that if you pass a hash of options to `Collection#find_by`,...

``` class Customer < ApplicationRecord belongs_to :organization end ``` by default Rails validates this association as `required`, meaning if you do net set an `organization_id`, record creation will fail Rails...

I have a Reform::Form::Module where I'm using unnest. If I try to include it more than once I get an error on startup: ``gems/disposable-0.4.7/lib/disposable/twin/property/unnest.rb:14:in `unnest': undefined method `[]' for nil:NilClass...

* Drop support for legacy version of dry-types * Remove Disposable::Twin::Struct (was deprecated) * Removal of nilify option (as it not supported since version 0.4.5)

I've been experimenting today and found that if you have a HABTM association which is set through disposable such as `tag_ids` then the underlying active record will save itself when...

If populator only adds/removes elements from collection, changed? returns nil. To detect collection change - at least one member must be changed. But it seems counter intuitive - if I...

Hello, @apotonick! I really appreciate stuff you build (Reform, Roar, etc), it's really game-changing! I read a [post about Reform 2.0](http://nicksda.apotomo.de/2015/07/reform-2-0-form-objects-for-ruby/) where you mentioned `:struct` option for properties which I...

When using Disposable::Twin::Parent with Reform::Form::ActiveModel, it fails because property is a private method. Switching from calling property on the includer to instance_eval'ing the property call allows for property to remain...

Here is the failing test case based on discussion at https://github.com/apotonick/reform/issues/362 I can try to take a stab at a solution sometime soon, unless you know exactly where the problem...

Hi, After the switch from `Virtus` to `DryTypes` we get coercion errors on subclasses. The setter [here](https://github.com/apotonick/disposable/blob/master/lib/disposable/twin/coercion.rb#L20) gets called twice then, the first time with the string, the second time...