diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-29 19:19:08 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-29 19:19:08 -0700 |
commit | 130064d5049cb6df4d0c14964c253d3bad26e001 (patch) | |
tree | 432a6a4515ba6c74509f4ae55fa5aa432d0536cb /activerecord/test | |
parent | 648248bbb13aa5259b1e64d9a8376cdbe6717e37 (diff) | |
parent | f50c160cd028bd3e16c46dcba7692439daf709c8 (diff) | |
download | rails-130064d5049cb6df4d0c14964c253d3bad26e001.tar.gz rails-130064d5049cb6df4d0c14964c253d3bad26e001.tar.bz2 rails-130064d5049cb6df4d0c14964c253d3bad26e001.zip |
Merge pull request #5661 from carlosantoniodasilva/ar-pk-typecast
Typecast 'id' attribute in read_attribute when using custom pks
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/attribute_methods/read_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/cases/attribute_methods/read_test.rb b/activerecord/test/cases/attribute_methods/read_test.rb index 764305459d..98c38535a6 100644 --- a/activerecord/test/cases/attribute_methods/read_test.rb +++ b/activerecord/test/cases/attribute_methods/read_test.rb @@ -6,10 +6,6 @@ module ActiveRecord module AttributeMethods class ReadTest < ActiveRecord::TestCase class FakeColumn < Struct.new(:name) - def type_cast_code(var) - var - end - def type; :integer; end end |