search for: update_profil

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

Did you mean: update_profile
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
...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 controller. match ''/profile'', :to => ''users#profile'', :via => "get" match ''/profile'', :to => ''users#update_profile'', :via => "post" If I run rake routes I see the following t...
2007 Nov 18
0
Pseudo resource routes
...ixed 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 /profiles/index show_profile POST /profiles/:id/show create_profile POST /profiles/create edit_profile POST /profiles/:id/edit update_profile POST /profiles/:id/update destroy_profile POST /profiles/:id/destroy This is still very basic. No nested routes or singular resources yet. Shane -- http://myfitbuddy.com | http://shanesbrain.net | http://crimsonjet.com