similar to: Returning to a previous view

Displaying 20 results from an estimated 40000 matches similar to: "Returning to a previous view"

2010 Nov 07
1
Strange authlogic logout behavior
I am using authlogic for my application''s authentication. If I decide to login with an account and then immediately logout, I get an error. Unknown action The action ''show'' could not be found for UserSessionsController The server log in development says: Started GET "/user_session" for 127.0.0.1 at Sun Nov 07 13:28:31 -0800 2010
2006 May 17
3
What am I missing?
There''s got to be a simple answer to this... def logout reset_session flash[:notice] = "Logged out" redirect_to :action => ''index'' end The flash never shows up, and doesn''t seem to be in the new session. --Al Evans -- Posted via http://www.ruby-forum.com/.
2006 May 16
5
how to redirect after sendfile?
Greetings! Is there a way to get RoR to redirect_to another action after doing a sendfile? My little app lets the user enter a bunch of data and then creates an XML file from it. I''m using sendfile to let the user download the XML file. Once they download the file I want to take them to a new view that presents a logout button that will trigger a cleanup. But it looks like RoR
2006 May 08
1
newbie: Login/Logout in view
I am using the acts_as_authenticated plugin to manage logging in/logging out. There are a few controllers, such as search, that I don''t mind people accessing regardless of whether they are logged in or logged out. My current view just has some static links on the left that say Login and Logout. How should I set it up so that it says Login when not logged in and log out when logged
2008 Nov 30
6
ActionController::InvalidAuthenticityToken?
Hi- I am trying to use AJAX calls to login and logout of my Rails app so that the form renders in the side bar when you are not logged in, and your "profile" renders if you are. It all works, but when you logout, and try and log back in, you get "ActionController::InvalidAuthenticityToken", in the development.log. What does this mean, I can''t figure out how to fix
2009 Nov 11
4
host_with_port in config/environment.rb
Hello everyone... i''m Italian, sorry for my poor English, but I find myself in difficulties with this method.I don''t need to redirect the logout of rubycas in a host other than localhost... when the decoy in "config/environment.rb" of course tells me ''method ''host_with_port'' undefined''... I looked in the folder of ruby and i saw that
2014 Jan 13
2
6.5, minor annoyances
I rebuilt my system a couple/three weeks ago, and it's running 6.5, and there's a couple of minor annoyances: first, all my xterms, when I login in from the console, always are in ~/Documents, rather than ~. The other is that, running KDE, I can't find where to turn *off* the stupid login/logout theme music.* Oh, and I get this enTHUsiastic menu, rather than the traditional one.
2006 Apr 05
2
Return Rendering Controller In View
I have a shared partial which could be rendered by two different controllers. Is there an easy way in the view to return which controller rendered the partial? I''ve tried using: <%debug(params[''controller''])%> While that does return what I need it seems like a kludgy fit since debug is not meant to be used for that. Thanks, LarsenMTL -- Posted via
2006 Aug 10
6
Partials - asked before never got reply
I''m trying to figure out how multiple partials in one page would be configured when they are based on some action in the controller. As an example - I have a main/welcome page. If someone new or a user not logged in arrives at this page I display both a registration form and a login form. However, if they are logged in then those forms should not show up on that page. Also should
2011 Jul 21
3
Samba 3.4, Windows 7, Roaming profiles and Folder redirection
Hello, I'm quite new to Samba administration and I've inherited a working samba setup with roaming profiles however the login and logout times for users has been growing and I'm starting to think it's time do something about it. I'm thinking redirect some folders to a samba share on the network will speed up the login and logout times. Our setup has 25 Windows 7 workstations
2003 Sep 05
1
Debian bug #201444: More verbose logging
I brought this up a while ago but the submitter is wondering if there has been any progress on this issue. He says: It would be extremely nice to have a little bit more detailed logging, and I believe it doesn't really require that much code. I use now a daemon which logs login (name, ip; as dovecot does), and logout (with name, logout reason if any special) with the numbers of
2007 Jul 01
2
Roaming profile - Folder redirection - Erase file on server
[I post the same message on Ubuntu forum] Hi, I need help to fix a problem with Samba as PDC and Folder redirection on a Roaming Profile. I know it's not the best place to post this, but I don't know any better place. So if you have suggestion, tell me. Here my problem : I'm in a testing environement with a Samba server setup as a PDC with some share (netlogon, profiles) to support
2008 Mar 12
2
RSpec view test for :partial with :locals?
I''m currently working on some RSpec view tests and I''m having problems with expect_render. Most of the expect_render''s work fine, but in one of my views I have: <%= render :partial => "user_cloud", :locals => {:user => @featured_user} %> I see that expect_render supports ":object" or ":collection" for the second
2007 Nov 01
1
How to pass data from a view to a partial rendered in a layout?
In the application I''m working on, a layout renders a partial that displays a breadcrumb navigation bar across the top of a page. In other words, the layout renders a partial that displays breadcrumbs. But the navigation bar rendered by a partial in a layout needs to use data from the view to determine which breadcrumbs to display. My question is: how can data be passed from a view to
2003 Mar 04
1
Windows 2K/XP Profile/Homedir replication issue?
Hey there, Just a question for you Samba 2.2.x gurus out there :) We have a contingent (a steadily increasing contingent) of Win2K and WinXP workstations. Does anyone here know how to stop the profiles from replicating? If we create a file in the profile dir, say \\PDC\UserHome\profile.doc. It will replicate that to the profile directory, while one file or two files are not a problem, we use
2009 Sep 08
1
ovirt web interface
Good morning, I build ovirt following instruction o ovirt.org but when I try to connect to the web interface the following error is reported: Redirect Loop I think the problem is first lines in ovirt-server.conf under /etc/httd/conf.d: NameVirtualHost 172.25.0.52:80 <VirtualHost 172.25.0.52:80> <Location /ovirt> RewriteEngine on RewriteRule ^.*$
2015 Jun 15
3
Problem logging in during testing
Am Montag, den 15.06.2015, 13:33 -0400 schrieb Steve Matzura: > I think I have it now! Found info about *correctly* defining > namespaces. I now get the following when telnetting in, and it all > looks valid. > > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE >
2006 Jul 13
8
Acts As Authenticated - smarter login box
Hi, I''ve got AAA loaded and working. I now want to put a smarter login form on the sidebar of my site. If the user is not logged in, I''d like to display a typical form in the sidebar that collects the user ID/password and allows the user to login. If the user is logged in, the box should display something like ''Logged in user: FirstName Lastname'' and a
2006 Jun 20
4
Invoking MouseOver using link_to tag ?
Hi, How can we trigger a JavaScript built in function from a <%= link_to %> ie. i have the below statement in my view. I want to invoke a JavaScript function on "MouseOver" of this below text (''TestingMouseOverEvents''). <%= link_to "TestingMouseOverEvents" , :controller => "login", :action => "logout"%> Note: The
2007 Nov 30
3
Zimbra benchmarking
Now that I have a working kvm setup, I thought I'd finally try how Zimbra works. This is mainly some microbenchmarking, so it may not have much to do with actual performance in real life. Setup: - 1GB memory given to kvm (from host's 2GB) - Intel Core 2 6600 (kvm uses only one CPU) - CentOS 5 - 15GB qcow2 image on XFS filesystem - Zimbra 5.0 RC2 RHEL5 x86_64 - Dovecot latest hg,