diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-10-05 18:11:25 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-10-05 20:21:21 +0100 |
commit | 64747654ca661d695622c0ad9e33b8d9e6df8048 (patch) | |
tree | 953314bcf3e51aa784a600cfe09bee7280e79743 /activerecord/test/cases/attribute_methods | |
parent | fd8f0b297822ba36002084faa36bd0320d3be4a7 (diff) | |
download | rails-64747654ca661d695622c0ad9e33b8d9e6df8048.tar.gz rails-64747654ca661d695622c0ad9e33b8d9e6df8048.tar.bz2 rails-64747654ca661d695622c0ad9e33b8d9e6df8048.zip |
Revert "Raise error on unknown primary key."
This reverts commit ee2be435b1e5c0e94a4ee93a1a310e0471a77d07.
Diffstat (limited to 'activerecord/test/cases/attribute_methods')
-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 814476ce73..e03ed33591 100644 --- a/activerecord/test/cases/attribute_methods/read_test.rb +++ b/activerecord/test/cases/attribute_methods/read_test.rb @@ -24,10 +24,6 @@ module ActiveRecord def self.primary_key end - def self.primary_key? - false - end - def self.columns column_names.map { FakeColumn.new(name) } end |