Displaying 4 results from an estimated 4 matches for "clear_connection_cache".
2005 Dec 21
10
can an active records maps to N tables?
Hi,
Is it possbile that one active record maps to N
tables, actually the relation is 1 to 1, I wonder it
is possible.
also can a ruby object map to N tables, instead of an
active records?
Thanks you very much:)
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Jan 06
1
ActiveRecord - Switching Databases
This is a question regarding ActiveRecord outside of Rails.
I have several databases that have absolutely identical table structure. I
have a
ActiveRecord::Base.establish_connection(
:adapter => "mysql",
:host => "localhost",
:username => "user",
:password => "password",
:database
2006 Mar 22
15
Rails-1.1.0-RC1 tagged today (4010)
Looks like Rails 1.1.0 RC1 is finally here:
http://dev.rubyonrails.org/changeset/4010
--
Posted via http://www.ruby-forum.com/.
2006 May 02
7
vendor/rails seems to be being ignored in preference to gem?
I have edge rails in /vendor/rails on DreamHost, but when running
dispatch.fcgi I get the following error in my logs:
[02/May/2006:08:52:32 :: 29365] terminated gracefully
[02/May/2006:08:53:53 :: 19526] starting
[02/May/2006:08:53:54 :: 19526] Dispatcher failed to catch: undefined
method `clear_connection_cache!'' for ActiveRecord::Base:Class
(NoMethodError)
../config/../vendor/rails/activerecord/lib/active_record/base.rb:1138:in
`method_missing''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:76:in
`reset_after_dispatch''
/usr/lib/ruby/gems/1.8/gems/rails-1.0...