Displaying 3 results from an estimated 3 matches for "my_login".
Did you mean:
do_login
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
But then when I try to access @logi...
2006 Jan 23
4
Proposal: Deprecate ADO support in the SQL Server adapter
The SQL Server adapter can currently operate in two modes, ADO and
ODBC, each of which uses a different interface to access the db. The
ADO interface is currently the default, while ODBC can be specified as
an option.
I propose this situation is reversed, and that use of the ADO
interface is deprecated, if not removed altogether. Here are some
reasons, I'm sure there are more:
a) ADO uses
2006 Apr 25
0
IMAP disconnect method broken?
...ce it just hangs. The minimal
version is almost identical to
the example on page 701 of "Programming Ruby". Should I be calling
some other method?
require ''net/imap''
require ''openssl''
server, login, password = ''imap.server'',''my_login'',''my_password''
imap = Net::IMAP::new(server, 993, true)
imap.login(login,password)
imap.examine(''INBOX'')
puts "Message count: #{ imap.responses["EXISTS"]}"
imap.search(["To", "Me"]).each do |message_id|
envelope...