search for: configure_connect

Displaying 6 results from an estimated 6 matches for "configure_connect".

2006 Nov 24
7
Anyone know whats going on with PostgreSQL async_exec errors?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anyone know what''s going on with ActiveRecord Edge and 1.2RC1 unit tests. I get 13 failures from the "async_exec" method call. ie: test_callback_rollback_in_save(ConcurrentTransactionTest): ActiveRecord::StatementInvalid: NoMethodError: undefined method `async_exec'' for #<PGconn:0xb75a8754>: SET
2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
...igrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate ---this never finishes. ^C C:..some..path../mysql2_adapter.rb:312:in `query'' C:..some..path../mysql2_adapter.rb:312:in `execute'' C:..some..path../mysql2_adapter.rb:629:in `configure_connection'' <snip> C:/Ruby192/lib/ruby/1.9.1/rake.rb:1992:in `run'' C:/Ruby192/bin/rake:31:in `<main>'' I''ve checked the Gemfile and run bundle install. Here is a snippet from the database.yml development: adapter: mysql2 encoding: utf8 reconnect: f...
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-
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
...d/connection_adapters/abstract_adapter.rb:202:in `log'' /jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2- java/lib/arjdbc/jdbc/adapter.rb:178:in `execute'' /jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2- java/lib/arjdbc/mysql/adapter.rb:14:in `configure_connection'' /jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2- java/lib/arjdbc/mysql/adapter.rb:385:in `initialize'' /jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2- java/lib/arjdbc/jdbc/connection_methods.rb:6:in `new'' /jruby-1.5.3/lib/ruby/g...
2012 Dec 05
0
Announce: Puppet Dashboard 1.2.15 available
...hboard/index.html =============================== ## Puppet Dashboard 1.2.15 Bug Fixes ## =============================== (#16333) Override AR MySQL connector to set sql_mode Currently if there is a problematic sql_mode set globally it will end up breaking things. This patch overrides the configure_connection function of the MySQL connector to explicitly set the sql_mode to traditional for the session so that if something that breaks the queries used by the console (like ANSI_QUOTES) is set globally, it won''t affect it. Handles bogus pagination inputs. If you visit your loca...
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
...river.rb:8:in `initialize'' from /Users/josephli/.rvm/gems/jruby-1.7.2/gems/activerecord-jdbc-adapter-1.2.7/lib/arjdbc/jdbc/connection.rb:44:in `configure_jdbc'' from /Users/josephli/.rvm/gems/jruby-1.7.2/gems/activerecord-jdbc-adapter-1.2.7/lib/arjdbc/jdbc/connection.rb:24:in `configure_connection'' from /Users/josephli/.rvm/gems/jruby-1.7.2/gems/activerecord-jdbc-adapter-1.2.7/lib/arjdbc/jdbc/connection.rb:82:in `initialize'' from /Users/josephli/.rvm/gems/jruby-1.7.2/gems/activerecord-jdbc-adapter-1.2.7/lib/arjdbc/jdbc/adapter.rb:31:in `initialize'' ... 20 le...