aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/column.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-06-23 09:48:47 -0600
committerSean Griffin <sean@thoughtbot.com>2014-06-23 09:54:06 -0600
commitae96f229f6501d8635811d6b22d75d43cdb880a4 (patch)
tree57d224d09a4617f74b3ef980cf92173806765020 /activerecord/lib/active_record/connection_adapters/column.rb
parent936fd4c1e017ec88699b3cd7daa09847da36c731 (diff)
downloadrails-ae96f229f6501d8635811d6b22d75d43cdb880a4.tar.gz
rails-ae96f229f6501d8635811d6b22d75d43cdb880a4.tar.bz2
rails-ae96f229f6501d8635811d6b22d75d43cdb880a4.zip
Add a deprecation cycle for `NullColumn` from `column_for_attribute`
This is public API, and `simple_form` depends on the `nil` return value. We need to go through a deprecation cycle to return a null object. If people want hash access, they can access the hash.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/column.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/column.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/column.rb b/activerecord/lib/active_record/connection_adapters/column.rb
index 8be4678ace..1f1e2c46f4 100644
--- a/activerecord/lib/active_record/connection_adapters/column.rb
+++ b/activerecord/lib/active_record/connection_adapters/column.rb
@@ -57,12 +57,6 @@ module ActiveRecord
end
end
end
-
- class NullColumn < Column
- def initialize(name)
- super name, nil, Type::Value.new
- end
- end
end
# :startdoc:
end