Displaying 20 results from an estimated 600 matches similar to: "Facebooker interfering with existing application"
2008 Mar 20
2
Anyone having problems with asset_host not getting set up right?
Hey All,
I think I found a bug but I would be suprised since it would cause major
problems.
We setup the asset_host in init.rb with:
if File.exist?(facebook_config)
FACEBOOKER = YAML.load_file(facebook_config)[RAILS_ENV]
ENV[''FACEBOOK_API_KEY''] = FACEBOOKER[''api_key'']
ENV[''FACEBOOK_SECRET_KEY''] =
2008 Jun 28
5
asset_host?
Hi there,
I''m wrapping my head around Facebooker to try and build some integration points between an existing ROR application and facebook. I''ve managed to get FB talking to my app but when I tried to access my ROR app directly I noticed that all requests for images, CSS, and JS files were being made through my callback_url. Commenting out the following line from
2008 Jan 29
17
facebook_url_rewriting.rb
Here''s the fix for Facebook apps that specify a controller in their callback URLs. First, set this variable in your environment scripts:
ENV[''FACEBOOKER_CALLBACK_PATH''] = ''/controller''
# where controller is the name of your Facebook controller
And then patch vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb as shown in the
2008 Jan 26
14
Introducing facebooker.yml
If you are using facebooker as a plugin, you can now have all your
configuration in one place, namely config/facebooker.yml. You can
create this file with rake facebooker:setup. It is also generated
when you install it as a plugin.
It has a similar setup to database.yml with sections for each
environment. You can also configure your ssh reverse tunnels.
If you are upgrading, make sure to
2011 Aug 23
2
Where is WillPaginate::Finders ???
Hi All!
It''s been a while since I had to ask for help, but I''m back!
I''ve finished beta testing my big app and started the transition to
production. Everything went fine and the production version was working
till I was asked to add another model :-( (Almost a year of beta
testing and they only come up with it after moving to production :-D )
I successfully
2007 Dec 10
4
facebook_resources method not found
Is anyone else getting this error in their routes, when running
Facebooker from a plugin.
./script/../config/../config/routes.rb:67: undefined method
`facebook_resources'' for main:Object (NoMethodError)
from /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/routing.rb:1139:in `draw''
from ./script/../config/../config/routes.rb:1
2014 Apr 14
1
AuthorizedKeysCommand size issue?
I'm running into issues with AuthorizedKeysCommand when the sum of the size of
the public keys become bigger than ~ 12 KB.
I created a bash script that runs
#!/bin/bash
curl -s --compressed http://someurl.example.com/pubkeys/$1
and am getting "error: returned status 23".
CURLE_WRITE_ERROR (23): An error occurred when writing received data to a
local file, or an error
2008 Mar 10
15
facebooker is rewriting URLs even off of facebook canvas
The URLs for CSS/JS files are being rewritten to the address specified
in the tunnel even when outside of the facebook canvas. Is anyone else
having this problem?
2009 Nov 13
3
Encoding::UTF_8 missing?
I''ve just done a fresh reinstall of OS X Snow Leopard on my mac, and I''m
having all kinds of problems with Rails, but the latest problem has me
stumped.
Whenever I run rake db:seed to populate my database I hit the following
error:
** Invoke db:seed (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:seed
rake aborted!
uninitialized constant
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all,
I cannot figure out how to correctly use the with_output_buffer helper
method (located in ActionView::Helpers::CaptureHelper) inside a custom
FormBuilder.
Below follows a simplified example.
I''m trying to achieve the following behavior in an ERB as suggested in
the form_for helper docs in the Rails source:
==========
<%= form_for @object, :builder => MyFormBuilder do
2005 Jan 20
2
http/cgi metadata updating
I heard that Icecast 2.2 now supports metadata updating via http for vorbis
streams. We are adding http metadata support into our broadcasting software
for the next release. Can someone point me to a link for the syntax, or is
it identical to the Shoutcast syntax?
http://www.host.com:port/admin.cgi?pass=Password&mode=updinfo&song=Artist_Title&url=http://someurl.com
Has there been
2006 Nov 04
1
ActionMailer Sending Two text/plain Parts
Hello ~
I have a working ActionMailer Action that takes the template to use as
an argument so I have one action that handles multiple emails. The
email sends just fine, and the correct email templates are used, but
ActionMailer is throwing in its own text/plain section in addition to
the one I specify. Does anyone have any ideas on why this might be
occuring, when I am specificially specifying
2018 Jun 07
2
dovecot-pigeonhole Missing sieve_imapsieve Plugin?
Hi Folks,
I am having a problem configuring imapsieve via dovecot-pidgeonhole on CentOS7.
After following the docs here:
https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPSieve
I get:
dovecot[22026]: managesieve: Fatal: Plugin 'sieve_imapsieve' not found from directory /usr/lib64/dovecot/sieve
dovecot[22026]: doveconf: Error: managesieve-login: dump-capability process returned 89
2009 Aug 29
2
Users, Roles and Permissions
Hello,
I''m currently working on a text-based roleplay browser game, and i''m trying
to figure out what the best approach would be in order to create a system
that allows me to assign roles to a user, and permissions based upon the
role a user has.
I''ve been thinking about creating a model User, which has_many :roles, and
with the Role model which has_many :permissions.
2008 Apr 02
18
Setting up PuppetShow - Puppet's Web Interface
Hello puppeters;
I want to set/test the PuppetShow "Puppet''s Web Interface" with Ruby on
Rails (ROR). If somebody has setup such show, please share your experiece
with EXAMPLES...I''m not the programmer.so please share your STEPS....I have
setup the ROR environment, currently learning Rails with different
frameworks....HOBO (http://hobocentral.net/) is great for starter
2007 Aug 26
4
howto regressions on environment.rb in Rails projects
How would one write a spec on environment.rb in a rails app?
I was requiring a gem in environment.rb, but received a
"MissingSourceError". Generally, ruby raises a LoadError when it
can''t find a gem, but rails overrides this to raise a
MissingSourceError (since rails is expecting a required file to be in
lib/...). How would I write a spec to override this behavior,
2009 Jun 09
0
Rails Hosting for Newbies
Hello all.
This is probably an unusual first-time post but here goes.
First of all, I''m new to the worlds of both Ruby and Rails, so I don''t
have a lot to give in the way of Ruby or Rails. . . yet.
However, I am a long time coder and I hope to be able to contribute
before long.
In the meantime, I do have something to share with you today. It is a
testimonial about something I
2008 Jan 26
3
Facebooker::Session::IncorrectSignature
I think I must be missing something obvious on this one, but I can''t get past the initial "ensure_application_is_installed_by_facebook_user" in a rails app that I''m trying to put together. I''m running on edge rails with the latest Facebooker as a plugin. I''ve tried adding my settings to the environment configs and recently I tried the new yaml
2006 Jul 24
0
HTML YAML Builder
Is anyone interested in a YAML Builder for HTML?
Some trivial YAML that could be converted to HTML:
html:
- head:
- title: My title
- body:
- p:
- {!id: someId, !class: class1 class2}
- Hello
- img: {!src: someurl.gif}
- hr:
- ul: [{!id: someId}, {li: hello}, {li: goodbye}]
- ul:
- {!style: "height: 30px"}
- li: [{!id: first}, First]
-
2008 Jan 31
3
Using facebooker AND Haml/Sass
For anyone using both and encountering trouble with stylesheets
(specifically, the paths being incorrect in production mode)...
Removing facebooker solves the issue.
But I bet you don''t want to do that, eh? So, simply setting
ActionController::Base.asset_host = ''''
also works like butter.
I''m not 100% clear on why asset_host has anything to do with