Raph Estrada

Results 5 issues of Raph Estrada

When defining a decorator of a model we sometimes call `has_one` or `has_many` on the `base` class we are decorating: ```ruby module Foo def self.prepended(base) base.has_one :bar, dependent: :destroy end...

bug

This PR adds a filter for URI objects as inputs to commands. Ensures the URI is not empty and that it parses. Usage example, taken from a command I wrote...

This PR adds a filter for inputs of a certain type. It checks the object given is of a specific type, or of a subclass of that type. Usage example:...

Previously, when doing this `add_error(:foo, :bar, "baz")` one could not fetch the error by that symbol, only by string. `outcome.errors["foo"]` This PR makes a tiny change to preserve the symbol...

When an exception doesn't have a `backtrace` (it is `nil`), the `harshly` method can blow up, masking the underlying exception with this instead: ``` NoMethodError: undefined method `join' for nil:NilClass...