search for: auth_control

Displaying 5 results from an estimated 5 matches for "auth_control".

Did you mean: auc_control
2006 Jun 16
8
OffRailed, and stuck in the book : (
Help, i''ve been trapped on the tracks here for a day now in the Agile w/ Rails book (latest edition) I can''t get page 115 to display. It says: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.each Extracted source (around line #3): 1: <h1> My Agile Cart</h1> 2:
2006 Apr 13
1
Model is not a class
...st(["username=? AND password=?", username, password]) end end and this is my controller: class Account::AuthController < ApplicationController model :account ..... end I guess the problem is that I''m using a module, my controller is inside controllers/account/auth_controller.rb. I''m not able to find the mistake, my model is clearly a class ... Ideas ? TIA, ngw -- Nicholas Wieland nicholas_wieland@yahoo.it ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it
2006 Dec 01
4
uninitialized constant error in app but not when using console
...:password => opts[:password], :trace => true ) rescue Exception => e raise e ensure self.connection.disconnect! if self.connection.active? end true end end end end in my auth controller i have auth_controller.rb ------------------------- require ''myapp.rb'' class AuthController < ApplicationController def login begin auth = MyApp::ExternalSource::Connection.authenticate(:login => params[:login], :password => params[:password], :env => "MYAPP_" + RA...
2009 Jul 10
2
Problem installing system_timer in windows
...21:in `new_constants_in'' c:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require'' C:/Documents and Settings/eshakor/workspace/InfoQuality/app/models/ldap_user.rb:2 C:/Documents and Settings/eshakor/workspace/InfoQuality/app/controllers/auth_controller.rb:44:in `authenticateAndAuthorize'' C:/Documents and Settings/eshakor/workspace/InfoQuality/app/controllers/auth_controller.rb:18:in `login'' Ok so I figured I need to install system_timer so I opened a command prompt and typed: gem install system_timer And got error: '&...
2006 Jan 13
0
Layout not rendered when render_component used
...L snippet containing a form with username and password fields. It''s called from the main application.rhtml layout so I don''t need to have a seperate page (away from the main site) with a login form. My user model is more-or-less the same as in the Agile RoR book. app/controllers/auth_controller.rb: class AuthController < ApplicationController layout false def login if request.get? @user = User.new else @user = User.new(@params[:user]) logged_in_user = @user.try_to_login if logged_in_user # handle setting cookies, setting session...