search for: connectionpool

Displaying 4 results from an estimated 4 matches for "connectionpool".

Did you mean: connection_pool
2010 Feb 25
0
How to use connection pool in Rails2.3.5 with WEBrick and MySQL?
We use Rails 2.3.5, MySQL, and WEBrick. ActiveRecord call ConnectionPool#checkout and create new connection to MySQL when receive a first HTTP request. At this time, register to connection pool its connection in ConnectionPool#checkout_new_connection. # http://github.com/rails/rails/blob/v2.3.5/activerecord/lib/active_record/connection_adapters/abstract/connection_pool....
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi, I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6 server with little success. Has anyone been able to do this? If so, what issues did you have to overcome to get this to work? Also, is this a combination that you would recommend for a production site, or is it all too new and untested? The latest issue I''m stuck on right now is with the mysql-connector-
2012 Sep 23
0
How to remove column without downtime with ActiveRecord > 3.0?
...to override #columns method in the model and filter out deprecated column names before migration (basically - hide these columns from AR). This worked because all column name related methods were based on #columns call In ActiveRecord starting with 3.1.0 caching of table structures is moved to ConnectionPool, and all column name related values (e.g. coluumns_hash) are cached independently. Is there any way (other than deep-hack of concrete adapters) to achieve safe column drop in ActiveRecord > 3.0 ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rail...
2009 Sep 08
2
Rails + Sybase ASE : group effort, please
...=> "sybase", :host => "localhost", :port => 123, :username => "read_only", :password => "read_only", :database => "mydb" ) puts a puts a.connection _________ Here is the output: #<ActiveRecord::ConnectionAdapters::ConnectionPool:0x3e1b740> c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/sybct.rb:27:in `connect'': connect failed (RuntimeError) from c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/sybct.rb:27:in `open'' from c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/sybsql.rb:269:in `initialize'...