search for: jumpto

Displaying 10 results from an estimated 10 matches for "jumpto".

2006 May 17
0
class filter: cannot call protected controller methods
...*_url - methods are protected (redirect_to, f.ex.), and cannot be called. Is this intended? Is there a solution workaround? TIA Alain BEFORE: ----------- before_filter :login_required, :except => [:welcome,:login] def login_required unless current_user session[:jumpto] = request.parameters redirect_to login_invite_url end end AFTER (does not compile) ----------- class AuthenticationFilter def self.filter(controller) login_required = [''welcome'',''login''].include?(controller.a...
2006 Jan 03
1
must write '':controller => "/foo"'' because of "admin/bar"
Hi all, Because I place admin controllers in an "admin" subdirectory, I''m forced to use absolute controller names/paths whole over my app. => I can no longer write: .. :controller => "foo" .. :controller => :foo or .. :controller => "admin/bar I have to use instead : .. :controller => "/foo" .. :controller
2006 Mar 24
6
login forms , redirect_to and ajax-scaffold problems
...s_controller.rb the authorize_employee is in application.rb def authorize_employee unless session[:employee_id] flash[:notice] = "Please log in" # save the URL the user requested so we can hop back to it # after login session[:jumpto] = request.parameters redirect_to(:controller => "employees", :action => "login") else logger.info "User already authorized as #{session[:employee_id]}" end end All standard stuff and works as expected most of the time...
2006 Apr 21
8
web services and dealing with before_filter
...9;ve got a Rails app with a ApplicationController that looks like this: class ApplicationController < ActionController::Base before_filter :authorize, :except => :login def authorize unless session[:user] flash[:notice] = "Please log in" session[:jumpto] = request.parameters redirect_to :controller => "login", :action => "login" end end end So, basically, redirect a user to the login screen if they haven''t already logged in. Pretty standard stuff. But, if I want to setup a web service, ho...
2006 Feb 14
4
Escaping the AJAX View
I have a login form, in which I use a "form_remote_tag". I''m redirecting users to this form when they fail authentication as well... and using the "jumpto" method of capturing they original URL they requested via request.parameters, and redirecting to this URL after they authenticate. Problem is, if I try to do a "redirect_to", this won''t work, as I''m still in the AJAX request. I''m assuming my only alternat...
2020 Aug 15
5
Supporting libunwind on Windows 10 (32bit; 64bit) for MSVC and Clang
...-luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -loldnames && cd ." Creating library lib\unwind.lib and object lib\unwind.exp libunwind.cpp.obj : error LNK2019: *unresolved external symbol "public: void __thiscall libunwind::Registers_x86::jumpto(void)" (?jumpto at Registers_x86@libunwind@@QAEXXZ) referenced in function "public: virtual void __thiscall libunwind::UnwindCursor<class libunwind::LocalAddressSpace,class libunwind::Registers_x86*>::jumpto(void)" (?jumpto@?$UnwindCursor at VLocalAddressSpace@libunwind@@VRegis...
2005 Aug 14
0
ParkAndAnnounce - Any way to not disconnect?
...e/DSP and this works fine. If a caller tries to get me on my cell, they are parked... I am called and told where they are holding, but then ParkAndAnnounce hangs up. So I have to call my system back and dial the parked extension to be bridged with the caller. Is there anyway to make the announce jumpto something else so I can just dial the parked extension if I choose to accept the call? I suppose if there's not, I could accomplish this with other apps, but this is so close to working exactly how I want. If there is no way to do this and I have to write a dial plan that just Parks the call...
2000 Jul 17
2
possible bug in _f0_fit_clear
...d04202c ea30627b free_look + 0000009f fd042048 ea2f3196 vorbis_dsp_clear + 0000033e fd042074 ea2eed99 _decode_clear + 0000002d fd042084 ea2efc8f ov_raw_seek + 0000007f fd04209c ea2eff6d ov_pcm_seek + 00000221 fd042100 ea2f022e ov_time_seek + 0000013a fd042144 ea2ede85 MyPlugin::JumpTo(long) + 00000031 fd04215c 800473d7 #File CL-Amp text + 000473d7 fd042278 80048d24 #File CL-Amp text + 00048d24 I'll try and fingure out more details later, if no one else encounters this. Dave --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www...
2007 May 24
25
Specs for ApplicationController, where to put them?
The Rails ApplicationController (app/controllers/application.rb) serves as an abstract superclass for all other controllers in a Rails application and is a good place to put methods and filters which you want all of your controllers to use. In my case I''m using it to provide methods such as "current_user" and "logged_in?" etc. By default, RSpec
2008 Aug 25
11
pid-provider sees ld.so.1 only
I''m trying to do some userspace tracing on a server-process with the pid provider. My problem is, that the only probes the pid-provider lists for the server-process (to which I attach dtrace with "-p nnnn") are coming from "ld.so.1". There''s not a single one from my modules. If I''m specifying "a.out" (or any of our shared-objects) as the