tag:blogger.com,1999:blog-20975090.post6433720475298099354..comments2024-03-11T10:18:55.852-05:00Comments on Headius: ActiveRecord-JDBC 0.2.1 Released!Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-20975090.post-17443789885849536522007-05-22T15:18:00.000-05:002007-05-22T15:18:00.000-05:00I was getting:connection_specification.rb:14:in `m...I was getting:<BR/><BR/>connection_specification.rb:14:in `method_missing':NoMethodError: undefined or inaccessible method `cattr_accessor' for ActiveRecord::Base:Class<BR/><BR/>Per Headius, I updated my environment.rb so that the added require statement is this shorter version than listed above:<BR/><BR/>require 'jdbc_adapter'<BR/><BR/><BR/><BR/>To:Unknownhttps://www.blogger.com/profile/16562238414711038491noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-12452398635710864732007-03-20T19:07:00.000-05:002007-03-20T19:07:00.000-05:00I found this note, which appears to be required to...I found this note, which appears to be required to get this to work, now.<BR/><BR/>Yes, the Ruby plugin is updated almost daily, and this bit of configuration changed since I posted the entry. You now need to add the following to your environment.rb:<BR/><BR/>if RUBY_PLATFORM =~ /java/<BR/> require 'rubygems'<BR/> RAILS_CONNECTION_ADAPTERS = %w(jdbc)<BR/>end<BR/>You want to place it right before the line that reads:<BR/><BR/>Rails::Initializer.run do |config|<BR/>Previously this configuration was already set for you, but now you need to add it manually.Kurthttps://www.blogger.com/profile/05934520088652990725noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-34913655544309571302006-10-09T15:53:00.000-05:002006-10-09T15:53:00.000-05:00That's a good question. some, like myself, believe...That's a good question. some, like myself, believe that once all Rails test cases work, JRuby officially "supports" Rails. Others, like myself, think it would also be good to have a large number of real-world apps tested and running under JRuby.<br /><br />I guess the question is mainly for the community to decide. What would be required for JRuby to "support" Rails?Charles Oliver Nutterhttps://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-20975090.post-66882980349344535472006-10-09T15:30:00.000-05:002006-10-09T15:30:00.000-05:00hi,
When would JRuby be that could run Rails be av...hi,<br />When would JRuby be that could run Rails be available for the public?<br />Regards<br />KiranUnknownhttps://www.blogger.com/profile/01440091305668196259noreply@blogger.com