File: README.md

package info (click to toggle)
ruby-activerecord-deprecated-finders 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 188 kB
  • ctags: 94
  • sloc: ruby: 1,026; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 448 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Active Record Deprecated Finders

This gem will be used to extract and deprecate old-style finder option
hashes in Active Record:

``` ruby
Post.find(:all, conditions: { published_on: 2.weeks.ago }, limit: 5)
```

It will be a dependency of Rails 4.0 to provide the deprecated
functionality.

It will be removed as a dependency in Rails 4.1, but users can manually
include it in their Gemfile and it will continue to be maintained until
Rails 5.