Displaying 7 results from an estimated 7 matches for "login_pages".
Did you mean:
login_page
2006 Apr 18
4
Mixin variables
I''ve created an access control module that I''m including in several
different controllers. Everything works fine, but I want to allow each
controller to override the default login page with something like this:
set_login_pages :secure => ''my_login''
In my module, I''ve set up the set_login_pages method like this:
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def set_login_pages(*login_page_list)
@login_pages = login_page_list
end
end
Bu...
2010 Apr 26
2
woriking under webrick but not under passenger
Hi!
I have just added login feature to my rails application (followed the
instruction from (Agile Web Development with Rails) but now I am getting
strange errors (looks to me like some kind of routing problem) under the
passenger/apache.
The error is:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
From the log:
2009 Apr 09
1
undefined method ''text'' ...
Just trying to run the example
*****
require ''rubygems''
require ''mechanize''
a = WWW::Mechanize.new
a.get(''http://rubyforge.org/'') do |page|
# Click the login link
login_page = a.click(page.links.text(/Log In/))
# Submit the login form
my_page = login_page.form_with(:action => ''/account/login.php'')
2007 Dec 06
0
Too many open files leads to timeout exceptions in Mechanize/Net::HTTP?
I''m experiencing an issue where my get/submit calls to the Mechanize
agent are leading to timeout exceptions when the ruby script has too
many open file descriptors ( > 1000). However, I''m not seeing
anything about an overstep violation sent anywhere to syslog, and no
error message sent to stdout. The process has the large amount of
open files because it''s
2003 Aug 04
6
bugs.digium.com
Is anyone else having trouble accessing it with something besides IE on a
Windows box? Opera on Mac/FreeBSD/Linux just hangs at the login page, IE
on Mac and Netscape on Solaris & Linux explode when loading
login_page.php.
2006 Mar 18
1
user engine redirect configuration help
Hello,
I am using the User Engine in a typical way. When an unathenticated
user attempts to access a protected area of the site it works fine
unless the the controller has been defined in a module. i.e. When I
try and access localhost/admin/roles/list as an unathenticated user I
get redirected to localhost/admin/user/login insted of the correct
location: localhost/user/login.
I''ve
2006 Mar 29
1
Problems with lighty
I''ve been trying to get lighty configured to work with Rails and I''m
having quite a time of it.
I have all of the following installed on a FC4 system:
ruby-1.8.4
gems-0.8.11
rails-1.0
fcgi-2.4.0
ruby-fcgi-0.8.6
lighttpd-1.4.10
Before I tried setting up multiple apps, I just decided to try for a
single app setup. I have the following configuration:
### begin config ###