Currently I have this:
class Group < ActiveRecord::Base delegate :publish_group_creation, :to => 'MyAppModules::Publisher' after_create :publish_group_creation end
The thing is that Publisher.publish_group_creation
receives 1 argument (the group that's gonna be published)
I tried something like this;
delegate :publish_group_creation, :to => 'MyAppModules::Publisher', :group => self
but it doesn't work, what is right way to pass parameters using delegate
?