Skip to content

Commit

Permalink
inherited should call super, otherwise there is a problem when using …
Browse files Browse the repository at this point in the history
…STI.
  • Loading branch information
lukasztackowiak authored and Brendan Loudermilk committed Mar 24, 2012
1 parent a562c4d commit d9c8184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/acts_as_async/helper.rb
Expand Up @@ -40,6 +40,7 @@ def async_in(time, method, *args)
def inherited(subclass)
queue = instance_variable_get(:@queue)
subclass.instance_variable_set(:@queue, queue)
super
end
end

Expand Down

0 comments on commit d9c8184

Please sign in to comment.