aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-06-29 19:47:04 +0200
committerJosé Valim <jose.valim@gmail.com>2010-06-29 19:50:09 +0200
commit67582f08bf86ec71a27363554bc550e929a007f7 (patch)
tree08d32373ddb44f7033779ca0b60ccefed3f3cfb0 /activerecord/test/models
parent7ea85ff516df142b60126e2dcc1174fd0b8f85a9 (diff)
downloadrails-67582f08bf86ec71a27363554bc550e929a007f7.tar.gz
rails-67582f08bf86ec71a27363554bc550e929a007f7.tar.bz2
rails-67582f08bf86ec71a27363554bc550e929a007f7.zip
Push a failing test for issues [#4994] and [#5003].
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/without_table.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/models/without_table.rb b/activerecord/test/models/without_table.rb
new file mode 100644
index 0000000000..87f80911e1
--- /dev/null
+++ b/activerecord/test/models/without_table.rb
@@ -0,0 +1,3 @@
+class WithoutTable < ActiveRecord::Base
+ default_scope where(:published => true)
+end \ No newline at end of file