Displaying 12 results from an estimated 12 matches similar to: "Facebook javascript (FBJS) library"
2008 Mar 18
4
respond_to formats, fbml and fbjs
In my controllers I have a respond_to block for both fbml and fbjs.
I created the fbjs mime type in environment.rb:
Mime::Type.register "application/javascript", :fbjs
However, even if I specify fbjs in a parameter name format during AJAX
post requests, it is being overwritten by Rails or Facebooker as FBML.
I confirmed this by placing logger.debug params[:format] immediately
before
2008 Mar 30
0
javascript confirm function in FBJS
I''d like to add the :confirm option in the link_to_remote and replace
the missing confirm function with Facebook''s Dialogs.
function confirm(text) {
dlg = new Dialog(Dialog.DIALOG_CONTEXTUAL).showChoice(''Confirm
Request'', text , ''Yes'', ''No'');
dlg.onconfirm = function() { return true; };
dlg.oncancel = function() { return
2008 Mar 12
2
Developing Facebook Platform Applications with Rails
I was hoping to announce this a month ago, but some legal wrangling
took longer than expected.
Developing Facebook Platform Applications with Rails is now available
in Beta at http://www.pragprog.com/titles/mmfacer
It walks you through creating a Facebook application with Facebooker,
all the way from setup to handling large number of users.
Thank all of you for asking questions on this
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here:
http://wiki.developers.facebook.com/index.php/Facebook_Styles
I included testing and comments. I hope you find it useful.
Curiously, it''s really a small extension of FBML.
Richard
-------------- next part --------------
Index: test/rails_integration_test.rb
2008 Jan 25
5
ajax with facebooker?
So if I am using fbml,canvas & facebooker, can I do ajax calls? if so
how?
From reading it seems they support some sort of mock ajax, but I
don''t really understand, can somone explain to me?
If I cant do ajax, can I still do javascript?
Can I use 3rd party libs like prototype & scriptaculous?
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
2005 Oct 31
1
Problem with migrate
I have a migration that is failing.
I am trying to create new records in a table.
class BasicAnswerTypes < ActiveRecord::Migration
def self.up
# this adds basic answer types and response types to the database
ResponseType.create :name => "boolean"
end
def self.down
ResponseType.find_by_name("boolean").destroy
end
end
when I run rake
2008 Sep 17
0
Facebooker with expanded FJBS library
A few weeks ago I posted an FBJS library that I had been working on. I have
now updated that library to be fully compatible with Facebooker and created
a publicity accessible fork for people to try it out. I did attempt to
maintain backwards compatability, but I strongly recommend switching to the
new methods.
The fork is located here:
http://github.com/gdeglin/facebooker/
A helper has been
2010 Jan 21
0
[JOBS] Position open for Socially Responsible Senior Ruby Engineer
Want to use the skills that you''ve developed throughout your career to
make the world a better place? If so, then let''s talk. GamesThatGive
(http://gamesthatgive.net) just closed on their Series A round and is
seeking a Senior Web Engineer interested in building socially
responsible web applications with the best tools and frameworks
available.
Responsibilities:
- Develop fun,
2012 Mar 22
0
problems configuring cluster to lucci and virtual machines resource
I have Centos 6.1 and i'm configuring cluster with conga, lucci and ricci
these services are installed and running without problem. I need this type
configuration for a high availability of virtual machines which is run on
kvm. My problem is at the time of configuring "service group", when i click
to add appears the new windows wich say "add service to cluster" and i fill
2010 Apr 19
7
getting a list of rules out of iptables
I''ve been using camptocamp''s iptables module. It works pretty well, lets
me define rules in various modules, etc. Now I find myself needing to
generate a commented list of it''s rules. I notice that the README has a
nice exec suggestion. But, when I try it, I can''t get it to work.
In my iptables/manifests/init.pp I have:
Iptables {
before =>
2007 Oct 02
19
Per-Request View Paths
I haven''t had a chance to work on fixing multiple controller view paths
recently. My original patch attempt was:
http://dev.rubyonrails.org/ticket/8582
It was rejected due to the fact that it was fixing the symptom more than the
problem.
However, I think it''s critical that this problem get fixed, otherwise the
whole concept of view_paths is severely neutered and