search for: simplified_field

Displaying 1 result from an estimated 1 matches for "simplified_field".

2008 Jul 04
1
datatype problem when using ActiveRecord with Oracle
...ActiveRecord maps this attribute to boolean. So it gets a class of either FalseClass or TrueClass. I tried to find the source of the problem and I found oracle_adapter.rb (http:// www.koders.com/ruby/fidAF6400E299159A198A4064173CF305C895FCA945.aspx?s=%22Michael+Schoen%22#L5) has a method ''simplified_field'' that has a line "return :boolean if OracleAdapter.emulate_booleans && field_type == ''NUMBER(1)''". I tried overriding this method on my environment.rb and commented out this line. This problem is solved but I have another field of type ''Interval...