This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
e2b6919223
rails--rails
/
activerecord
/
test
/
models
/
without_table.rb
4 lines
86 B
Ruby
Raw
Normal View
History
Unescape
Escape
Push a failing test for issues [#4994] and [#5003].
2010-06-29 13:47:04 -04:00
class
WithoutTable
<
ActiveRecord
::
Base
Un-deprecate using 'default_scope' as a macro, but if you are calling the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
2011-04-18 18:15:38 -04:00
default_scope
where
(
:published
=
>
true
)
Deprecated support for passing hashes and relations to default_scope, in favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details.
2011-04-03 19:07:45 -04:00
end
Copy permalink