I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from facebooker plugin to facebooker gem 0.9.5 it currently seems as though canvas isn''t being detected and it''s trying to render .html format files instead of fbml format. I see fb_sig_in_canvas=>"1" in my params requested but fails to render. Anyone else running 2.1.1 yet and have similar issues or do I need to change something when using the gem version? Thanks --ken -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080917/1263a93c/attachment.html>
The gem version isn''t current. If you want to use the gem version, I would recommend that you build the gem from the most recent git version. Mike On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote:> I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from > facebooker plugin to facebooker gem 0.9.5 it currently seems as > though canvas isn''t being detected and it''s trying to render .html > format files instead of fbml format. I see fb_sig_in_canvas=>"1" in > my params requested but fails to render. Anyone else running 2.1.1 > yet and have similar issues or do I need to change something when > using the gem version? Thanks --ken > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Yeah I removed the gem and installed the plugin from git. Authentication is functioning again. I''m having a bunch of other small issues like stylesheets not loading and errors about image relative paths not allowed. I know unrelated to facebooker but been googling for couple hours now havent'' found a solution yet. If anyone has any clues greatly appreciated. Thanks On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino <mmangino at elevatedrails.com>wrote:> The gem version isn''t current. If you want to use the gem version, I would > recommend that you build the gem from the most recent git version. > > Mike > > On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: > > I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from >> facebooker plugin to facebooker gem 0.9.5 it currently seems as though >> canvas isn''t being detected and it''s trying to render .html format files >> instead of fbml format. I see fb_sig_in_canvas=>"1" in my params requested >> but fails to render. Anyone else running 2.1.1 yet and have similar issues >> or do I need to change something when using the gem version? Thanks --ken >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> > > -- > Mike Mangino > http://www.elevatedrails.com > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080917/d185ebce/attachment.html>
Tres Wong-Godfrey
2008-Sep-17 21:41 UTC
[Facebooker-talk] Rails 2.1.1 and Facebooker upgrade
Try setting up an asset host in your environment.rb config file to handle the relative URL errors. ActionController::Base.asset_host = "http://application.callback-host.com:3001 " On Sep 17, 2008, at 2:33 PM, Ken Schroeder wrote:> Yeah I removed the gem and installed the plugin from git. > Authentication is functioning again. I''m having a bunch of other > small issues like stylesheets not loading and errors about image > relative paths not allowed. I know unrelated to facebooker but been > googling for couple hours now havent'' found a solution yet. If > anyone has any clues greatly appreciated. Thanks > > On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino <mmangino at elevatedrails.com > > wrote: > The gem version isn''t current. If you want to use the gem version, I > would recommend that you build the gem from the most recent git > version. > > Mike > > > On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: > > I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from > facebooker plugin to facebooker gem 0.9.5 it currently seems as > though canvas isn''t being detected and it''s trying to render .html > format files instead of fbml format. I see fb_sig_in_canvas=>"1" in > my params requested but fails to render. Anyone else running 2.1.1 > yet and have similar issues or do I need to change something when > using the gem version? Thanks --ken > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com > > > > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk
Just downloaded a new version of the gem and had the same problem. Using manually setting ActionController::Base.asset_host made things work again. Looks like there''s a problem with load_configration since Module.const_defined?("ActionController") returns false for me and asset_host never gets set. On Wed, Sep 17, 2008 at 2:41 PM, Tres Wong-Godfrey < tres.wong-godfrey at saniq.com> wrote:> > Try setting up an asset host in your environment.rb config file to handle > the relative URL errors. > > ActionController::Base.asset_host = " > http://application.callback-host.com:3001" > > > > On Sep 17, 2008, at 2:33 PM, Ken Schroeder wrote: > > Yeah I removed the gem and installed the plugin from git. Authentication >> is functioning again. I''m having a bunch of other small issues like >> stylesheets not loading and errors about image relative paths not allowed. >> I know unrelated to facebooker but been googling for couple hours now >> havent'' found a solution yet. If anyone has any clues greatly appreciated. >> Thanks >> >> On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino <mmangino at elevatedrails.com> >> wrote: >> The gem version isn''t current. If you want to use the gem version, I would >> recommend that you build the gem from the most recent git version. >> >> Mike >> >> >> On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: >> >> I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from >> facebooker plugin to facebooker gem 0.9.5 it currently seems as though >> canvas isn''t being detected and it''s trying to render .html format files >> instead of fbml format. I see fb_sig_in_canvas=>"1" in my params requested >> but fails to render. Anyone else running 2.1.1 yet and have similar issues >> or do I need to change something when using the gem version? Thanks --ken >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> -- >> Mike Mangino >> http://www.elevatedrails.com >> >> >> >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080917/6a7ef3dd/attachment.html>
The problem seems isolated to facebook as my external interface is loading css and images just fine with no complaints. I''ll try adding asset_host here to see if that helps for facebook. On Wed, Sep 17, 2008 at 6:15 PM, George Deglin <george at xapblog.com> wrote:> Just downloaded a new version of the gem and had the same problem. Using > manually setting ActionController::Base.asset_host made things work again. > > Looks like there''s a problem with load_configration since > Module.const_defined?("ActionController") returns false for me and > asset_host never gets set. > > On Wed, Sep 17, 2008 at 2:41 PM, Tres Wong-Godfrey < > tres.wong-godfrey at saniq.com> wrote: > >> >> Try setting up an asset host in your environment.rb config file to handle >> the relative URL errors. >> >> ActionController::Base.asset_host = " >> http://application.callback-host.com:3001" >> >> >> >> On Sep 17, 2008, at 2:33 PM, Ken Schroeder wrote: >> >> Yeah I removed the gem and installed the plugin from git. Authentication >>> is functioning again. I''m having a bunch of other small issues like >>> stylesheets not loading and errors about image relative paths not allowed. >>> I know unrelated to facebooker but been googling for couple hours now >>> havent'' found a solution yet. If anyone has any clues greatly appreciated. >>> Thanks >>> >>> On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino < >>> mmangino at elevatedrails.com> wrote: >>> The gem version isn''t current. If you want to use the gem version, I >>> would recommend that you build the gem from the most recent git version. >>> >>> Mike >>> >>> >>> On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: >>> >>> I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from >>> facebooker plugin to facebooker gem 0.9.5 it currently seems as though >>> canvas isn''t being detected and it''s trying to render .html format files >>> instead of fbml format. I see fb_sig_in_canvas=>"1" in my params requested >>> but fails to render. Anyone else running 2.1.1 yet and have similar issues >>> or do I need to change something when using the gem version? Thanks --ken >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >>> -- >>> Mike Mangino >>> http://www.elevatedrails.com >>> >>> >>> >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080917/de393b64/attachment-0001.html>
Tres Wong-Godfrey
2008-Sep-17 22:21 UTC
[Facebooker-talk] Rails 2.1.1 and Facebooker upgrade
Are you setting the asset_host from within the Rails::Initializer.run block? If so, try putting it after the end of the block and see what happens. On Sep 17, 2008, at 3:15 PM, George Deglin wrote:> Just downloaded a new version of the gem and had the same problem. > Using manually setting ActionController::Base.asset_host made things > work again. > > Looks like there''s a problem with load_configration since > Module.const_defined?("ActionController") returns false for me and > asset_host never gets set. > > On Wed, Sep 17, 2008 at 2:41 PM, Tres Wong-Godfrey <tres.wong-godfrey at saniq.com > > wrote: > > Try setting up an asset host in your environment.rb config file to > handle the relative URL errors. > > ActionController::Base.asset_host = "http://application.callback-host.com:3001 > " > > > > On Sep 17, 2008, at 2:33 PM, Ken Schroeder wrote: > > Yeah I removed the gem and installed the plugin from git. > Authentication is functioning again. I''m having a bunch of other > small issues like stylesheets not loading and errors about image > relative paths not allowed. I know unrelated to facebooker but been > googling for couple hours now havent'' found a solution yet. If > anyone has any clues greatly appreciated. Thanks > > On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino <mmangino at elevatedrails.com > > wrote: > The gem version isn''t current. If you want to use the gem version, I > would recommend that you build the gem from the most recent git > version. > > Mike > > > On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: > > I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from > facebooker plugin to facebooker gem 0.9.5 it currently seems as > though canvas isn''t being detected and it''s trying to render .html > format files instead of fbml format. I see fb_sig_in_canvas=>"1" in > my params requested but fails to render. Anyone else running 2.1.1 > yet and have similar issues or do I need to change something when > using the gem version? Thanks --ken > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com > > > > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk >
I just pushed a fix for this. Can you update and try again? Mike On Sep 17, 2008, at 6:15 PM, George Deglin wrote:> Just downloaded a new version of the gem and had the same problem. > Using manually setting ActionController::Base.asset_host made things > work again. > > Looks like there''s a problem with load_configration since > Module.const_defined?("ActionController") returns false for me and > asset_host never gets set. > > On Wed, Sep 17, 2008 at 2:41 PM, Tres Wong-Godfrey <tres.wong-godfrey at saniq.com > > wrote: > > Try setting up an asset host in your environment.rb config file to > handle the relative URL errors. > > ActionController::Base.asset_host = "http://application.callback-host.com:3001 > " > > > > On Sep 17, 2008, at 2:33 PM, Ken Schroeder wrote: > > Yeah I removed the gem and installed the plugin from git. > Authentication is functioning again. I''m having a bunch of other > small issues like stylesheets not loading and errors about image > relative paths not allowed. I know unrelated to facebooker but been > googling for couple hours now havent'' found a solution yet. If > anyone has any clues greatly appreciated. Thanks > > On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino <mmangino at elevatedrails.com > > wrote: > The gem version isn''t current. If you want to use the gem version, I > would recommend that you build the gem from the most recent git > version. > > Mike > > > On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: > > I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from > facebooker plugin to facebooker gem 0.9.5 it currently seems as > though canvas isn''t being detected and it''s trying to render .html > format files instead of fbml format. I see fb_sig_in_canvas=>"1" in > my params requested but fails to render. Anyone else running 2.1.1 > yet and have similar issues or do I need to change something when > using the gem version? Thanks --ken > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com > > > > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Yep the fix worked. Thanks On Wed, Sep 17, 2008 at 3:28 PM, Mike Mangino <mmangino at elevatedrails.com>wrote:> I just pushed a fix for this. Can you update and try again? > > Mike > > On Sep 17, 2008, at 6:15 PM, George Deglin wrote: > > Just downloaded a new version of the gem and had the same problem. Using >> manually setting ActionController::Base.asset_host made things work again. >> >> Looks like there''s a problem with load_configration since >> Module.const_defined?("ActionController") returns false for me and >> asset_host never gets set. >> >> On Wed, Sep 17, 2008 at 2:41 PM, Tres Wong-Godfrey < >> tres.wong-godfrey at saniq.com> wrote: >> >> Try setting up an asset host in your environment.rb config file to handle >> the relative URL errors. >> >> ActionController::Base.asset_host = " >> http://application.callback-host.com:3001" >> >> >> >> On Sep 17, 2008, at 2:33 PM, Ken Schroeder wrote: >> >> Yeah I removed the gem and installed the plugin from git. Authentication >> is functioning again. I''m having a bunch of other small issues like >> stylesheets not loading and errors about image relative paths not allowed. >> I know unrelated to facebooker but been googling for couple hours now >> havent'' found a solution yet. If anyone has any clues greatly appreciated. >> Thanks >> >> On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino <mmangino at elevatedrails.com> >> wrote: >> The gem version isn''t current. If you want to use the gem version, I would >> recommend that you build the gem from the most recent git version. >> >> Mike >> >> >> On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: >> >> I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from >> facebooker plugin to facebooker gem 0.9.5 it currently seems as though >> canvas isn''t being detected and it''s trying to render .html format files >> instead of fbml format. I see fb_sig_in_canvas=>"1" in my params requested >> but fails to render. Anyone else running 2.1.1 yet and have similar issues >> or do I need to change something when using the gem version? Thanks --ken >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> -- >> Mike Mangino >> http://www.elevatedrails.com >> >> >> >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk >> > > -- > Mike Mangino > http://www.elevatedrails.com > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080917/3a6c7663/attachment.html>
Yes thanks a bunch works great now. --ken On Wed, Sep 17, 2008 at 6:31 PM, George Deglin <george at xapblog.com> wrote:> Yep the fix worked. Thanks > > > On Wed, Sep 17, 2008 at 3:28 PM, Mike Mangino <mmangino at elevatedrails.com>wrote: > >> I just pushed a fix for this. Can you update and try again? >> >> Mike >> >> On Sep 17, 2008, at 6:15 PM, George Deglin wrote: >> >> Just downloaded a new version of the gem and had the same problem. Using >>> manually setting ActionController::Base.asset_host made things work again. >>> >>> Looks like there''s a problem with load_configration since >>> Module.const_defined?("ActionController") returns false for me and >>> asset_host never gets set. >>> >>> On Wed, Sep 17, 2008 at 2:41 PM, Tres Wong-Godfrey < >>> tres.wong-godfrey at saniq.com> wrote: >>> >>> Try setting up an asset host in your environment.rb config file to handle >>> the relative URL errors. >>> >>> ActionController::Base.asset_host = " >>> http://application.callback-host.com:3001" >>> >>> >>> >>> On Sep 17, 2008, at 2:33 PM, Ken Schroeder wrote: >>> >>> Yeah I removed the gem and installed the plugin from git. Authentication >>> is functioning again. I''m having a bunch of other small issues like >>> stylesheets not loading and errors about image relative paths not allowed. >>> I know unrelated to facebooker but been googling for couple hours now >>> havent'' found a solution yet. If anyone has any clues greatly appreciated. >>> Thanks >>> >>> On Wed, Sep 17, 2008 at 4:23 PM, Mike Mangino < >>> mmangino at elevatedrails.com> wrote: >>> The gem version isn''t current. If you want to use the gem version, I >>> would recommend that you build the gem from the most recent git version. >>> >>> Mike >>> >>> >>> On Sep 17, 2008, at 3:05 PM, Ken Schroeder wrote: >>> >>> I''ve upgraded to Rails 2.1.1 from 2.0.2 last night and changed from >>> facebooker plugin to facebooker gem 0.9.5 it currently seems as though >>> canvas isn''t being detected and it''s trying to render .html format files >>> instead of fbml format. I see fb_sig_in_canvas=>"1" in my params requested >>> but fails to render. Anyone else running 2.1.1 yet and have similar issues >>> or do I need to change something when using the gem version? Thanks --ken >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >>> -- >>> Mike Mangino >>> http://www.elevatedrails.com >>> >>> >>> >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >> >> -- >> Mike Mangino >> http://www.elevatedrails.com >> >> >> >> > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080917/83f3a892/attachment-0001.html>