Displaying 3 results from an estimated 3 matches for "myapp_".
Did you mean:
myapp
2006 Dec 01
4
uninitialized constant error in app but not when using console
...ave
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_" +
RAILS_ENV.upcase)
rescue Exception => e
...
end
end
def logout
...
end
end
now, when i attempt to login, i get an exception raised:
uninitialized constant Connection
however, if i run it from the console:
Loading development environment.
>> require '...
2006 Apr 11
2
AR class names
hello all, quick question: how can I find out if a given string matches the
name of an ActiveRecord derived class?
thanks in advance
alan
2008 Apr 28
3
connecting database with railo
i m not able to connect to database
I am create my rails folder i get database.yml file in this format
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: sqlite3
database: db/development.sqlite3
timeout: 5000
# Warning: The database defined as ''test'' will be erased and
# re-generated from your development database when