Displaying 4 results from an estimated 4 matches for "my_tasks".
2006 Jul 05
2
Rails debugging - a (slightly) better approach?
...cript/../config/../app/controllers/ta
sk_controller.rb:8: u = User.find(session[:user].id)
(rdb:3) list
[3, 12] in
C:/work/ruby/workspace/workharder/script/../config/../app/controllers/ta
sk_controller.rb
3 class TaskController < UserController
4 scaffold :task
5
6 def my_tasks
7 start_debug
=> 8 u = User.find(session[:user].id)
9
10 @tasks = u.tasks
11 stop_debug
12 @users = User.find(:all)
(rdb:3) up
#2
C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/b
ase.rb:910
(rdb:3) down
#1
C:/work/ruby/workspace...
2008 Feb 01
2
proposed patch for fb_request_form_submit
Hi, according to the Facebook docs, you can add a uid to the
fb_request_form_submit button which will pre select the user for the
form.
So you can do:
<fb:request-form action="/my_tasks" method="POST" invite="true"
type="MyApp" content="wants to invite you to xyz app">
<fb:request-form-submit uid="FRIENDID" />
</fb:request-form>
which will create a button that says "Send Fred MyApp Invitation"
# he...
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
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