Title: [1018] trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb: 20524,
JRUBY-2612: Since when did I think that there was a #true?
method on Object?
- Revision
- 1018
- Author
- nicksieger
- Date
- 2008-06-05 09:41:43 -0400 (Thu, 05 Jun 2008)
Log Message
20524, JRUBY-2612: Since when did I think that there was a #true? method on Object?
Modified Paths
Diff
Modified: trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb (1017 => 1018)
--- trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb 2008-06-04 21:39:32 UTC (rev 1017)
+++ trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb 2008-06-05 13:41:43 UTC (rev 1018)
@@ -90,7 +90,7 @@
# Override default -- fix case where ActiveRecord passes :default => nil, :null => true
def add_column_options!(sql, options)
options.delete(:default) if options.has_key?(:default) && options[:default].nil?
- options.delete(:null) if options.has_key?(:null) && (options[:null].nil? || options[:null].true?)
+ options.delete(:null) if options.has_key?(:null) && (options[:null].nil? || options[:null] == true)
super
end
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel