[Facebooker-talk] errors

Mike Mangino mmangino at elevatedrails.com
Wed Sep 10 08:58:39 EDT 2008


We did support 1.2 in the past, but I haven't tested it in months.  
I'll take patches to keep it working on 1.2, but I don't plan on  
actively working to support anything beyond the last couple of Rails  
releases.

Mike

On Sep 10, 2008, at 8:09 AM, Lee Mallabone wrote:

> Hi Mike,
>
> I'm on rails 1.2.6, is that compatible with facebooker?
>
> Lee.
>
>
> 2008/9/10 Mike Mangino <mmangino at elevatedrails.com>:
>> What version of Rails are you using?
>>
>> There is a lot of ugly trickery involving _erbout that happens in  
>> view
>> helpers. Maybe some of that has changed in new versions.
>>
>> Mike
>>
>> On Sep 10, 2008, at 7:10 AM, Lee Mallabone wrote:
>>
>>> Hi all,
>>>
>>> I've had a couple of issues and was hoping someone might be able to
>>> offer some advice?
>>>
>>> 1. To get facebooker to work at all (on both 0.9.5 and the latest  
>>> git
>>> version), I had to add the following lines to the init.rb file:
>>>
>>> require 'facebooker/rails/facebook_form_builder'
>>> require 'facebooker/rails/helpers'
>>>
>>>
>>> 2. I'm trying to use the form builder methods and I get the  
>>> following
>>> error:
>>>
>>> ------------------------------------------
>>> NameError in Lee#new
>>>
>>> Showing app/views/lee/new.rhtml where line #23 raised:
>>>
>>> undefined local variable or method `_erbout' for
>>> #<Facebooker::Rails::FacebookFormBuilder:0x220baf0>
>>> Extracted source (around line #23):
>>>
>>> 23:      <%= f.collection_typeahead :category, [[1,'hello'],
>>> [2,'goodbye'], [3,'grandad']], :first, :last %>
>>> 24:      <%= f.buttons "Post Form", "Save For Later", "Cancel" %>
>>> 25:
>>> 26:  <% end %>
>>> RAILS_ROOT: ./script/../config/..
>>>
>>> Application Trace | Framework Trace | Full Trace
>>>
>>> /Users/lee/Code/rails/testapp1/vendor/plugins/facebooker/lib/ 
>>> facebooker/rails/facebook_form_builder.rb:30:in
>>> `build_shell'
>>>
>>> /Users/lee/Code/rails/testapp1/vendor/plugins/facebooker/lib/ 
>>> facebooker/rails/facebook_form_builder.rb:30:in
>>> `collection_typeahead'
>>> ...
>>> ------------------------------------------
>>>
>>> Are these errors for known issues? Are there any workarounds? I get
>>> the same error when I try and use the normal collection_select  
>>> method
>>> with facebook_form_for(). This issue is preventing me from creating
>>> useful forms with facebooker so if I need to provide any more info,
>>> please let me know.
>>>
>>> I'm running rails 1.2.6 on ruby 1.8.6 (2008-03-03 patchlevel 114)
>>> [universal-darwin9.0].
>>>
>>> Kind regards,
>>> Lee.
>>> _______________________________________________
>>> Facebooker-talk mailing list
>>> Facebooker-talk at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/facebooker-talk
>>
>> --
>> Mike Mangino
>> http://www.elevatedrails.com
>>
>>
>>
>>
>
>
>
> -- 
> Lee Mallabone.
> Director, Crossbone Systems Ltd.
>
> http://www.crossbonesystems.com/
> http://www.fonicmonkey.net/
> http://CambridgeWebHeads.ning.com/

--
Mike Mangino
http://www.elevatedrails.com





More information about the Facebooker-talk mailing list