For some reason, send! doesn't work in Rails edge (I believe it was supposed to be deprecated anyway?). I replaced send
with __send__ which should work all the way through Ruby 1.9.
Index: facebooker/lib/facebooker/rails/publisher.rb
===================================================================
--- facebooker/lib/facebooker/rails/publisher.rb (revision 479)
+++ facebooker/lib/facebooker/rails/publisher.rb (working copy)
@@ -412,7 +412,7 @@
def inherited(child)
super
child.master_helper_module=Module.new
- child.master_helper_module.send!(:include,self.master_helper_module)
+ child.master_helper_module.__send__(:include,self.master_helper_module)
child.send(:include, child.master_helper_module)
end
|