search for: update_profiles

Displaying 3 results from an estimated 3 matches for "update_profiles".

2007 Nov 17
0
rake errors
...I''m getting a whole bunch of errors and the rake task bombs. The traceback on the errors doesn''t seem to make much sense to me. Help? rake task... require ''action_controller/integration'' namespace :actions do desc "update facebook profiles" task(:update_profiles => :environment) do app = ActionController::Integration::Session.new; app.get(''/facebook/update_profiles'') puts app.html_document.root.to_s end end controller action.... def update_profiles @users=FacebookUser.find(:all) @articles = Article.find(:all,...
2010 Nov 04
0
Rails routing issue
Within a rails app I''ve got a special url (/profile) that I''m mapping to the user controller to allow a user to view and edit their profile. I made the following entries into my route file so that the "get" for profile will route me to the profile action in the user controller and the "post" for profile will route to the update_profile action in the user
2007 Nov 18
0
Pseudo resource routes
I added a route mapper called facebook_resources. This allows you to create pseudo-resource routes. Since everything is a POST in Facebook, you can''t identify routes using HTTP verbs. Each route is prefixed with its action, except for index. Example: map.facebook_resources :profiles Will give you the following named routes: new_profile POST /profiles/new profiles POST