search for: simplified_typ

Displaying 2 results from an estimated 2 matches for "simplified_typ".

Did you mean: simplified_type
2006 Mar 10
14
Oracle Date type errors rails on edit
I have a table with "expires_on" a DATE field. "Show" and "Destroy" work, but "Edit" errors: /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:150:in `select_hour'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:149:in `select_hour'' It only happens when
2006 Feb 05
0
Enum patch for Rails
...values << item + end + values + end + + def extract_limit_or_enum_values(sql_type) + if type == :enum + extract_enum_values(sql_type) + else + extract_limit(sql_type) + end + end + def simplified_type(field_type) case field_type when /int/i @@ -157,6 +180,8 @@ :string when /boolean/i :boolean + when /enum/i + :enum end end end Index: activerecord/lib/active_record/connection_adap...