Error doing add_column with Derby and jdbc-adapter-0.7.2 
---------------------------------------------------------

                 Key: JRUBY-2115
                 URL: http://jira.codehaus.org/browse/JRUBY-2115
             Project: JRuby
          Issue Type: Bug
          Components: ActiveRecord-JDBC
         Environment: ruby 1.8.5 (2007-12-15 rev 5200) [amd64-jruby1.0.3]
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode)
            Reporter: Chris Williams


I noticed that the release notes for 0.7.2 included a line about adding support 
for add_column with derby.  
- JRUBY-1905: add_column for derby, hsqldb, and postgresql (Stephen Bannasch)

I just tried to run my migrations and this is the first few lines of the trace.

-- add_column(:positions, :mti_id, :string)
rake aborted!
undefined method `quote_table_name' for 
#<ActiveRecord::ConnectionAdapters::JdbcAdapter:0x5350f1d6>
/net/snv44003/data1/downloaded_packages/ruby/jruby-1.1RC1-rails1.2.6/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-0.7.2/lib/jdbc_adapter/jdbc_derby.rb:204:in
 `add_column'
/net/snv44003/data1/downloaded_packages/ruby/jruby-1.1RC1-rails1.2.6/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/migration.rb:275:in
 `method_missing'
/net/snv44003/data1/downloaded_packages/ruby/jruby-1.1RC1-rails1.2.6/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/migration.rb:273:in
 `say_with_time'

I just reverted back to 0.7.1 and the migrations run fine. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to