Bugs item #9494, was opened at 2007-03-23 14:10
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=9494&group_id=2014

Category: AR-JDBC
Group: 0.2.3
Status: Open
Resolution: None
Priority: 3
Submitted By: Martin Adamek (martinadamek)
Assigned to: Nobody (None)
Summary: NoMethodError when using :decimal column with :null => true

Initial Comment:
In JRuby/Rails using AR-JDBC with this simple migration:

class CreateItems < ActiveRecord::Migration
  def self.up
    create_table :items do |t|
      t.column :price, :decimal, :precision => 8, :scale => 2, :null => true
    end
  end

  def self.down
    drop_table :items
  end
end

after creation of simple controller scaffolding Item model I get attached 
exception when controller wants to list items. On standard Ruby/Rails with 
mysql driver it works without any problem.


----------------------------------------------------------------------

>Comment By: Ola Bini (olabini)
Date: 2007-08-11 15:26

Message:
Is this still a problem, when using AR-JDBC trunk?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=9494&group_id=2014
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to