rectify icon indicating copy to clipboard operation
rectify copied to clipboard

Build maintainable Rails apps

Results 18 rectify issues
Sort by recently updated
recently updated
newest added

# Use case Tried this today: ```ruby class SomeController < ApplicationController def some_action SomeCommand.call do on(:something) do some_method_with_kwargs(yeet:) end end end private def some_method_with_kwargs(yeet:); end end ``` Which doesn't work....

When supplying a block to `Rectify::Command::call`, the calling object instance is saved and its methods [become available](https://github.com/andypike/rectify/blob/master/lib/rectify/command.rb#L46) on the command object as well. - This should be documented in the...

This PR goes after: https://github.com/andypike/rectify/pull/53

rebase on master after https://github.com/andypike/rectify/pull/54 goes in

Hey! We're using your beautiful gem so I decided it was time to give back. :)

Record identifier type can be anything else, so it's better to use String type

> You of course don't need to put all code for this task within the Command, you can (and should) create other classes that your Command uses to perform its...

Hello! In some cases I used to use `Rectify::Command` as a simple command like this ```ruby @subscriptions = Subscriptions::BuildFor.(current_user) ``` But after upgrade to 0.12.0 it started to return hash...

0.9.0, 0.9.1 and 0.10.0 releases have not been tagged on the repository. Since the project does not include a changelog either, it's hard to know which code each release contains.