Displaying 1 result from an estimated 1 matches for "new_user_id".
Did you mean:
  end_user_id
  
2006 Aug 17
0
redirect_to POST?
...son, however I''m also trying to stick to REST principles 
otherwise.  My idea was to have a before_filter :check_user that checked 
to see whether this user existed or redirected to a POST users_url() to 
automatically create the user, which would then redirect to a GET 
user_url(:id => new_user_id).
Is there a way to redirect_to a POST, or should I forget about REST for 
this circumstance and just do the user creation in the before_filter?
Thanks!
-- 
Posted via http://www.ruby-forum.com/.