Module: Eaco::Adapters::ActiveRecord::Compatibility::Scoped
- Defined in:
- lib/eaco/adapters/active_record/compatibility/scoped.rb
Overview
Aliases ‘scoped` as `all` for ActiveRecord >= 4.1.
TODO maybe is against Rails’ practices to revive a dead API? It may be, comments accepted.
Instance Method Summary collapse
-
#scoped ⇒ Object
Just returns
ActiveRecord::Base.all.
Instance Method Details
#scoped ⇒ Object
Just returns ActiveRecord::Base.all.
17 18 19 |
# File 'lib/eaco/adapters/active_record/compatibility/scoped.rb', line 17 def scoped all end |