-
Supports
private performs :some_method
Which then generates a private
some_method_later
method.This was already technically supported but a test was added to declare it expected.
-
Support method suffixes ! and ?
You can call
performs :some_method!
and havesome_method_later!
generated. Same for?
. -
Support
performs
on private methodsMethod jobs will now call methods with
send
, in case you only want to expose the generated later method to the outside world.class Post < ActiveRecord::Base performs :something_low_level private # We don't want other objects to call this, they should always use the generated later method. def something_low_level # … end end
Here, the generated
Post#something_low_level_later
is public and available but can still call into the immediate version ofsomething_low_level
.
- Fixed: extend ActiveRecord::Base with ActiveJob::Performs as the README says.
- Initial release