Looking at this solution https://github.com/tuupola/rack-facebook-method-fix it seems great except it omits what is probably obvious to most, but it’s 5:30 in the morning and perhaps my brain is not working. In what file and where should I put the lines:
require "rack-facebook-method-fix"
use Rack::Facebook::MethodFix
? I assumed the top of application.rb but that gives me an error message:
/config/application.rb:5:in `<top (required)>': undefined method `use' for main:Object (NoMethodError)
Okay – so adding the above lines in the different environment files and modifyg the use line to read:
seems to work