Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding to AR::Base documentation about dynamically scopeded_by query | Neeraj Singh | 2010-08-02 | 1 | -2/+2 |
| | | | | User.scoped_by_user_name('David') | ||||
* | Remove unintentional API changes. [#1108] | Pratik Naik | 2010-07-14 | 1 | -0/+4 |
| | |||||
* | Added typewriter tag to code. | Rizwan Reza | 2010-06-15 | 1 | -2/+3 |
| | |||||
* | Adds title and basic description where needed. | Rizwan Reza | 2010-06-15 | 1 | -0/+4 |
| | |||||
* | cleaning up many more warnings in activerecord [#4180 state:resolved] | Aaron Patterson | 2010-03-15 | 1 | -0/+3 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Dynamic finders should use the ActiveRecord::Base::find method instead of ↵ | Eloy Duran | 2008-10-03 | 1 | -4/+4 |
| | | | | | | | | | | | | ::find_initial, :find_last, and ::find_all. This is so when people override ActiveRecord::Base::find, the new ::find method will also be invoked by the dynamic finders. Associations for instance do go through ::find, so this makes it more consistent. Also removed the unnecessary deprecation silence blocks. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1162 state:committed] | ||||
* | Added find_last_by dynamic finder [status:committed #762] | miloops | 2008-09-09 | 1 | -1/+2 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | add dynamic finder bang version to raise RecordNotFound | Josh Susser | 2008-08-25 | 1 | -0/+7 |
| | | | | | | [#905 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | refactor dynamic finder name matching into its own class | Josh Susser | 2008-08-25 | 1 | -0/+33 |
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |