1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Mike Perham
aec53975e3 Merge pull request #1674 from devaroop/master
Option to remove the generic aliases which MAY clash
2014-05-20 20:21:11 -07:00
Mike Perham
d8d3df9f2f Dont need to manually add app/workers to autoload_paths 2014-04-28 21:11:28 -07:00
Devaroop
e5687d7184 Removes the generic aliases which MAY clash with names of already declared by other applications 2014-04-24 19:41:05 +05:30
Rafael Mendonça França
499882d4d4 Use ActiveSupport.on_load hooks to extend rails components
Checking if the constant is define and including the extensions directly
in the base class will for the class to be loaded. This may cause these
components to be loaded before the time and be missconfigured if the
sidekiq railtie is loaded before the components railtie.

It is unlikely to happen but is better be safe.
2014-03-28 21:36:38 -03:00
Sean Doyle
e12bf878fa Replaced class and instance level send
Replaced with `__send__` from std lib

* `send` can now be overridden to be more semantically meaningful
  * `message.send(user_id)` as opposed to `message.send_message(user_id)`
* `__send__` makes it clear that the reflective version is intended
2014-02-14 09:43:34 -05:00
Mike Perham
b0fa69a915 Remove optionality of Rails hooks, #401 2012-09-20 20:04:25 -07:00
Mike Perham
e55979407a Add extension to delay any arbitrary class method to Sidekiq. 2012-08-16 16:43:01 -07:00
Jon Hinson
f15ceb93c5 Renaming hook_rails option to enable_rails_extensions 2012-03-26 18:05:33 -05:00
Jon Hinson
cd423f9cdc Add hook_rails configuration option to make the Rails extensions optional 2012-03-26 15:37:38 -05:00
Mike Perham
65bf77217b Fix require ordering causing extensions to not load properly, GH-77. 2012-03-10 12:30:15 -08:00
Mike Perham
2771a0ad96 Rename workers to processors. New Railtie support.
Workers are the user's classes, the threads are now called processors.  Add secret sauce to make Rails config much easier.  Use a railtie to auto-add app/workers to the autoload path.
2012-01-25 13:32:51 -08:00