similar to: patches on the rubyforge tracker

Displaying 20 results from an estimated 700 matches similar to: "patches on the rubyforge tracker"

2008 Mar 12
3
a way to restrict who can install your app, for private testing
This is something I just cooked up to allow me to restrict temporarily who can access my app, based on an array of UIDs. It''s messy but works. Put at the top of your controller, at the end of your filters. # This filter is only until we open everything up before_filter do |c| acceptable_uids = [''594180515'', ''122612996''] unless
2008 Jan 31
3
presenting validation errors via fbml?
Hi Facebookers, Is there a helper or suggested approach for presenting validation errors on an fbml form? Something to translate rails error markup to fbml:error markup? thanks Joel
2008 Apr 07
7
Testing and Mocking
Can I second this question? Could someone provide a simple example of how they set up a functional test for a controller that uses facebooker?? Do you have to copy a lot of stuff from rails_integration_test.rb ? I guess that since we don''t have a test facebook to test against, we have to stub out a lot of stuff right? --simon > Hi, I''m wondering if folks would care
2007 Dec 05
7
Better RESTful routes with fb_sig_request_method
With the new fb_sig_request_method provided by Facebook, I''ve patched shanev''s pseudo-resource routes to generate restful routes, minus some exceptions. The announcement: http://www.facebook.com/developers/message.php#msg_126 Patch is submitted here: http://rubyforge.org/tracker/index.php?func=detail&aid=16105&group_id=4187&atid=16132 Blog entry about it:
2008 Jan 24
12
getting started with facebooker
Hi, I started with rfacebook but given the recent events figure its best to move over to facebooker. I have: 1.) Installed the facebooker plugin 2.) setup my facebook app (fbml/canvas) 3.) created a method on controller & view to handle initial request 4.) added "ensure_application_is_installed_by_facebook_user" to top off application.rb I am able to get to my landing page
2008 Mar 18
3
examples in subversion
Hey everyone. I have a quick question. Checking out facebooker as a plugin is currently really slow due to the example rails application. Would anyone object if I moved that out of the main plugin directory? Mike -- Mike Mangino http://www.elevatedrails.com
2008 Mar 14
14
Facebooker MQ now on RubyForge
I don''t know if anyone is using this but I just fixed a bunch of bugs, some big ones, and moved this project to RubyForge SVN servers. So you can get it here now: script/plugin install http://facebooker-mq.rubyforge.org/svn/trunk/facebooker-mq/ This is working great for me on a couple of projects. Here is the README Updated: 3/14/2008 Purpose: The purpose of FacebookerMQ is to
2007 Jul 11
3
Problem with scheduled task mysteriously stopping
Hi there, I have a scheduled task which I started from Rails, set to run every 5 minutes, it takes probably about 20-30 seconds to execute (it''s aggregating some feeds). It ran for about 5 hours and then mysteriously stopped -- the logs show no errors. This kind of sucks because it''s like a silent failure, has anyone else had this problem? --simon --
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
2007 Dec 13
1
session.send_notification for emails
Hey All, I am wondering if anyone has done any work around sending emails through the API. It looks like facebooker is using part of a deprecated API, Notifications.send used to take an email part. They now have a Notifications.sendEmail call which will take recipients, subject, text part and fbml part. Looking at the code it seems like I need to add a method to the session
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 16
10
Towards a 1.0 release
Hey everybody. I''ve been using Facebooker on several projects over the last few months and feel like it is really starting to mature. I''d like to push towards a 1.0 release within the next month. I''d really like everybody''s input on what still needs to be done, as well as some help in wrapping things up. I''ve created a list of things that still
2008 Jan 23
4
redirect_to broken?
Is ActionController''s redirect_to method broken by Facebooker? When I try to invoke it and execute through apps.facebook.com, I get a blank page returned, response code 200, no redirect. When I try to connect directly to the server (not through apps.fb), I get the infinite recursion error described minutes ago. Are any of you able to use redirect_to successfully, and if so, any ideas
2007 Nov 30
5
render_to_string in an after filter
I''m using render_to_string in an after_filter, which renders a partial that is sent to a web service. Here''s the code: class MyController < ApplicationController after_filter :post_to_webservice def show # show logic end def post_to_webservice stuff = render_to_string :partial => ''stuff'' webservice_post(stuff) end I get a DoubleRenderError in the
2007 Dec 20
1
facebooker rails 2.0
Hey guys, Anyone using facebooker on a rails 2.0 site? I noticed at least one deprecated call in facebooker, which i am working on a patch for but didn''t know if anyone else has tried it out on the new build of rails yet. Later, Mark
2008 Jan 25
1
form error with datetime select
Hi, Im trying to build a form using: <% facebook_form_for(:task, at task,:url => create_task_path) do |f| %> Assign Task To: <%= fb_friend_selector %> <%=f.text_field :ttype, :label=> "Title"%> <%=f.datetime_select :duedate, :label=> "Due Date"%> <%=f.buttons "Add" %> <% end %> But im getting an
2008 Jan 04
2
Nested Routes + Facebook Resources
Does anyone have nested routes working with the facebook_resources method? My routes.rb has: map.facebook_resources :users do |users| users.facebook_resources :images users.facebook_resources :connections end but user_connections_url won''t generate. "rake routes" gives me: new_user POST /users/new {:action=>"new",
2008 Mar 20
1
can someone write tests for my patch?
Sorry ... I''m really lazy (and insanely busy more to the point) .. but you''ll get support for fb:dialog... http://rubyforge.org/tracker/? func=detail&atid=16132&aid=18772&group_id=4187 --simon -- http://simonwoodside.com
2007 Nov 30
0
Rails test helpers
Hey guys- I started a module for Rails test helpers. The first one is assert_fb_redirect. This is like Rails'' assert_redirect, but works for the fb:redirect FBML tag. Any ideas for more? I was thinking about a version of assert_select that works with Facebook. assert_select is based on CSS selectors, which won''t work with Facebook since the use of colons (:) in search
2007 Jun 05
3
IP details in COM32 module
Hi all I'm trying to resolve a problem that's recently popped up by turning on auxillary VLANs for our Linux workstations. The problem shows as DHCP failling for anaconda (but always succeeds for PXE). I tried adding 'ipappend 1' to the pxelinux config files but had no joy. I'm thinking that if I write a COM32 module that adds "ip=1.2.3.4 gateway=1.2.3.1