aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/read.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-02-09 14:45:46 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-02-09 14:45:46 -0800
commit3f5b984bf33eb1908ed595b8143873e13b070344 (patch)
treedbf1516b1a6f1c41efbf36b4a38ae0d18f9ff7cb /activerecord/lib/active_record/attribute_methods/read.rb
parente0eef111a31e1e442b60015b7c752cc1e2c21c57 (diff)
downloadrails-3f5b984bf33eb1908ed595b8143873e13b070344.tar.gz
rails-3f5b984bf33eb1908ed595b8143873e13b070344.tar.bz2
rails-3f5b984bf33eb1908ed595b8143873e13b070344.zip
removing dead code
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/read.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods/read.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/read.rb b/activerecord/lib/active_record/attribute_methods/read.rb
index 0724082a2d..846ac03d82 100644
--- a/activerecord/lib/active_record/attribute_methods/read.rb
+++ b/activerecord/lib/active_record/attribute_methods/read.rb
@@ -112,10 +112,6 @@ module ActiveRecord
def attribute_cast_code(attr_name)
columns_hash[attr_name].type_cast_code('v')
end
-
- def instance_cast_method(attr_name)
- "cast_column"
- end
end
# Returns the value of the attribute identified by <tt>attr_name</tt> after it has been typecast (for example,