Displaying 7 results from an estimated 7 matches similar to: "proposed patch for fb_request_form_submit"
2008 Jun 06
2
422/InvalidAuthenticityToken with fb_request_form
All,
I''m using the ActiveRecord store for sessions and have gotten form
submissions to work, but I can''t get the fb:request-form that''s
generated by fb_request_form to work, it doesn''t seem to add hidden
fields for the token. Should it? Can it even (add extra fields to
the fb:request-form)?
My view:
<% content_for("challenge_content") do %>
2008 Jan 31
2
request to install app
Hi,
I would like to generate a facebook call on behalf of a user to create
a request to another user to install the app.
Is there a way to do this without being in a fb_request_form?
the use case is:
Fred is creating a task, he assign it to a friend Sally , if Sally has
already installed & setup my app, no problem, if she hasnt, I want to
send an add request from Fred along with
2008 Apr 25
2
json => hash in Ruby
Hi everyone,
I would like to decode a json string and transform it into a hash in
ruby.
I tried
json = "{\"userid\" : \"21\", \"friendid\" : \"9\"}"
hash = ActiveSupport::JSON.decode(json)
puts hash[:userid]
however, this gives NIL back. How do I have to do this?
Thanks for any help!
--~--~---------~--~----~------------~-------~--~----~
You
2006 Jul 05
2
Rails debugging - a (slightly) better approach?
Hi all,
First up hello everybody, I''m new to this forum.
I am also new to Ruby and Rails. One thing that struck me as very
inconvenient for someone just learning the Rails ropes is that (apart
from Arachno and Komodo, which at the moment I cannot afford - and don''t
particularly like) there is no reasonable debugging support for Rails.
I know about breakpointer which - while
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application,
for now I have decided to go the route of creating a controller for
facebook stuff (called FaceController).
(setup is canvas, fbml)
So I have:
facebook config
http://myurl:myport/face/
My controllers name is face, so I dont even need a manual route, for
the landing page it works like a charm.
but, when I try to make
2008 May 06
1
check_friendship method only returning value of last pair
Hello, I''m new to facebooker and ruby, so not sure if the issue I am
having is due to my misunderstanding or a bug in facebooker plugin.
Here is what I have:
def show
@current_user ||= facebook_session.user
@member ||= params[:id].to_s==@current_user.id.to_s ?
@current_user : Facebooker::User.new(params[:id])
#for each of current_user''s friends, check if they are
2007 Dec 21
3
Access url_for from rake task
How do I access ActionController:Base url_for method from a Rake task.
I tried to access ActionController from irb but it doesn''t work?
Check out the pasite http://pastie.caboo.se/131266
--
Anil
http://anilwadghule.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To