aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2012-09-03 20:38:14 +0200
committerYves Senn <yves.senn@gmail.com>2012-09-03 20:38:14 +0200
commit9f494a9a3489cf03b0d6d3c87cb8638c3b867c86 (patch)
tree8ae1fa856de7ed814d02cfd25d5e28cded80daa6 /activerecord/test/models
parent77ca2815f5c5fc20a9ca7fa4cdd16d0c4b908682 (diff)
downloadrails-9f494a9a3489cf03b0d6d3c87cb8638c3b867c86.tar.gz
rails-9f494a9a3489cf03b0d6d3c87cb8638c3b867c86.tar.bz2
rails-9f494a9a3489cf03b0d6d3c87cb8638c3b867c86.zip
test cleanup, remove ruby_type because it's no longer needed
All tests with a custom inheritance_column use the `Vegtable` model. The field ruby_type on the Company models is no longer needed
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/company.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/test/models/company.rb b/activerecord/test/models/company.rb
index 75f38d275c..9bdce6e729 100644
--- a/activerecord/test/models/company.rb
+++ b/activerecord/test/models/company.rb
@@ -173,10 +173,6 @@ class Client < Company
before_destroy :overwrite_to_raise
# Used to test that read and question methods are not generated for these attributes
- def ruby_type
- read_attribute :ruby_type
- end
-
def rating?
query_attribute :rating
end