Displaying 2 results from an estimated 2 matches for "inherited_with_facebooker".
2009 Jan 20
0
alias_method_chain in Facebooker Causing Stack Level Too Deep
...a remedy? I know alias_method_chain is a pretty
popular way to override methods, so I
can''t imagine this being the first instance of alias_method_chain causing
this problem. Here is some of the sample code I''m looking to fix:
module ::ActionController
class Base
def self.inherited_with_facebooker(subclass)
inherited_without_facebooker(subclass)
if subclass.to_s == "ApplicationController"
subclass.send(:include,Facebooker::Rails::Controller)
subclass.helper Facebooker::Rails::Helpers
end
end
class << self
unless ActionController...
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here:
http://wiki.developers.facebook.com/index.php/Facebook_Styles
I included testing and comments. I hope you find it useful.
Curiously, it''s really a small extension of FBML.
Richard
-------------- next part --------------
Index: test/rails_integration_test.rb