Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • 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)
    • Number of attachments :
      0

      Description

      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.

        Activity

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            Chris Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: