similar to: db connection pool in Rails 2.3.x

Displaying 20 results from an estimated 30000 matches similar to: "db connection pool in Rails 2.3.x"

2007 Sep 15
1
ANN: [Yet Another ] AJAXy Petstore
Hi all, It''s obvious (isn''t it?) that the world needed another Petstore.If it''s not, then let''s just say that for some esoteric reasons (to do with training and the JRuby project), some people in ThoughtWorks decided to create one, anyway. With rounded corners, gradient fills, autocompletion search, yellow fade effect and sundry Web 2.0 features... but no tag
2006 Mar 21
7
Rails and JRuby
Has anyone attempted to run Rails inside of JRuby? Is that even possible? Aside from the performance implications, is it a bad idea? I''m thinking that it might be useful in very rare cases where a Ruby/Rails - equivalent of a Java solution may not exist yet. Any thoughts? Wes -- Posted via http://www.ruby-forum.com/.
2011 Jun 09
1
Rails 3.1 RC4 has broken migrations
Rails 3.1 RC4 has broken migrations $ jruby -v jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_24) [darwin-x86_64-java] $ jruby -S rails -v Rails 3.1.0.rc4 $ jruby -S rails new myapp -d jdbcpostgresql [...] $jruby -S rake db:create [...] $ jruby -S rails g model user name:string invoke active_record create
2007 Dec 28
1
WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
Hi WEBric won''t strat and showing the following errors:- => Booting WEBrick... /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/rails-2.0.2/ lib/initializer.rb:159:in `require_frameworks'': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError) from /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/ rails-2.0.2/lib/initializer.rb:156:in
2006 Jan 10
0
Looking for Rail Developer to speak at a college
Hello everyone, I wonder if there is anyone who live around Alexandria, Virginia, US who would be interested in coming to my college and give a short speech / introduction to students about Ruby on Rails. It does not have to be formal but you can just show them why Rails would be a much better choice for projects instead of ASP and J2EE they are teaching here. It would be even better if you are
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
hi all, I am having a hard time trying to find out what''s wrong with my setup. It used to work smoothly until I decided out of the blue to do a selfupdate and upgrade outdated on MacPort, then things started going south very quickily. Since MacPort kinda broke, I pull it all out and re-install the ports I have before, which went pretty smoothly. Then to my surprise any command I
2010 Sep 22
1
Bundler picking up wrong version of Ruby with Rails 3 ( possible bundler bug )
Hello All, I am developing a JRuby on Rails 3 application. Standard stuff. I am facing problems getting autotest to run. Here''s the trace: % autotest loading autotest/rails_rspec2 bundle exec /Users/manish/Foo/Foo-Server/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/bin/rspec
2006 Apr 07
1
Rails on Oracle tutorial... from Oracle!
I''ve not seen this posted anywhere else on the list.. http://www.oracle.com/technology/pub/articles/haefel-oracle-ruby.html?rssid=rss_otn_news Abstract: " You may have already heard about Ruby on Rails, the new application framework that seems to be taking the Web development community, in particular J2EE and PHP programmers, by storm. Rails is a capable Web application platform
2011 Sep 22
3
uninitialized constant Spec::Rails (NameError) when running spec command
I get the following error when trying to run a spec command on a model test. The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb The error is :- c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/rails/ matchers/ ar_be_valid.rb:2: uninitialized constant Spec::Rails (NameError) from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec- rails-1.3.0/lib/spec/ra
2010 Aug 13
5
"uninitialized constant" Error for CalendarHelpper
After installing calendar_helper-0.2.3 gem, application using CalendarHelper works fine. Then I tried to test using rake command which gave me the following error. Why does these messages appear evenif the application owrks fine. ------------------------------ Error Messags -------------------------------------- /usr/local/jruby-1.5.1/bin/jruby -I"lib:test"
2007 Jun 08
1
Running test Rails app under JRuby and JBoss - experiences
Based on this article http://blog.saush.com/?p=208 I have created a simple speed test application to see how JRuby behaves under JAVA server. I created one controller with simple method that provides actual time for view. View is RHTML with simple code for publishing the time provided by controller. Then a packed the application into WAR(described in article) and published under JBoss 4.0.5 (on
2011 May 07
4
Activerecord::JDBCError: Invalid column number
Hi, I''m rather new to Ruby and RoR, so I do not really know whether this ist the right forum to place my question. For my first ''project'' I planned to create a simple online-viewer, which grabs data from an existing database and make them visible in a structured form via browsers. So I thought that could be the right beginner-project, because I have only read datasets
2010 Jun 09
4
db connection issues in production but not in dev mode
We have an application Ruby on rails, which fires a number of queries to the database. I Suspect it is connection timeout error or something When we run the application in development mode, it works as expected. However when we switch to Production mode, we get the following error in Postgre console: -------------------------- LOG: could not receive data from client: No connection could be made
2009 Apr 04
1
JRuby on Rails
Hi This is my first post, and i would like to know if here we can talk about JRuby on Rails too, or just Ruby on Rails. If we can talk about JRuby, i would like to ask about a problem. I have installed the lastest version of jruby, rails, and activerecord for jdbcmysql adapter. When i run: # rake db:create Anyone error messages apper, and anyone database is created. Is this a know issue?
2011 Aug 18
3
Rails 3 - Production Environment
Hello Everyone, I need some help related to the below requirements: -> I need to setup production environment without installing Ruby or Rails or other related gems into it. I did accomplish the same using JRuby, bundler and warbler plugin. And deployed the WAR file into Apache Tomcat server. But now I have to do this without JRuby & Apache Tomcat. -> I have to setup Apache with
2006 Nov 24
0
Calling Java in Rails (JRuby, jrb, yajb) - real-world experience?
Hi, I''d be interested to hear from people who have used either JRuby or one of the Java-Ruby bridges like jrb or yajb to call out to Java classes from Rails. Which bridge did you use, how did it work out? Which one do you recommend? Is anybody running Rails on JRuby on a production server, or is Rails on JRuby still to experimental for that? Thanking you in advance, Elmar
2014 Jun 04
0
Getting random threading errors in jruby (1.7.3) & rails 2.3.17 application
I am running jruby (1.7.3) & rails 2.3.17 application whose apis are exposed to outside app. When I add "config.threadsafe!" in my development.rb/production.rb & hit lot many api requests in a second then I am getting following errors randomly for some of the api requests: 1. TypeError (NilClass can't be coerced into Float) 2. RuntimeError (can't add a new key
2008 Jun 19
1
How to run unit tests for Rails
hi, I downloaded rails as well as unit tests from: http://svn.rubyonrails.org/rails/branches/1-2-stable/ bash-2.03$ cd rails-1.2.6/railties/ bash-2.03$ rake regular_test (in /u/liangl/ruby/JRUBY103/unit_test/rails-1.2.6/railties) /u/liangl/ruby/JRUBY103/bin/jruby -w -Ilib:test "/u/liangl/ruby/ JRUBY103/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ rake_test_loader.rb"
2005 Nov 23
2
DB connection pooling support?
Does rails support connection pooling for DB connections? Or are connections just opened and closed as needed. Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2006 Apr 04
10
Ruby server infrastructure evolution -> app. servers?
All, Just musing about this whole FastCGI thing (that I hadn''t even thought of since 1999 when looking at OpenMarket for a customer and even then it was "old"), and wondering when we might see projects/products that attempt to provide Ruby application services in a J2EE-like container. I see the Cerise project - any interesting information on that? I''m assuming