diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-16 08:09:26 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-16 08:09:26 -0800 |
commit | f0139a16c263ba62e7e45d462a4fff411ebf2523 (patch) | |
tree | 9f47fcf5c2a6466e50c5ecb19eaa9ea94e0bfb43 /lib/arel/attributes.rb | |
parent | 206ec83ced0097a97f431a8fe20d4fcbd8fdd4d5 (diff) | |
download | rails-f0139a16c263ba62e7e45d462a4fff411ebf2523.tar.gz rails-f0139a16c263ba62e7e45d462a4fff411ebf2523.tar.bz2 rails-f0139a16c263ba62e7e45d462a4fff411ebf2523.zip |
returning undefined for unknown column types
Diffstat (limited to 'lib/arel/attributes.rb')
-rw-r--r-- | lib/arel/attributes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/attributes.rb b/lib/arel/attributes.rb index a7fb00293b..92cc041f83 100644 --- a/lib/arel/attributes.rb +++ b/lib/arel/attributes.rb @@ -13,7 +13,7 @@ module Arel when :date, :datetime, :timestamp, :time then Time when :boolean then Boolean else - raise NotImplementedError, "Column type `#{column.type}` is not currently handled" + Undefined end end end |