Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor fixes and edits [ci skip] | Vijay Dev | 2012-09-09 | 1 | -1/+1 |
| | |||||
* | add note about using block form of unscoped in AR Querying guide [ci skip] | Francesco Rodriguez | 2012-09-08 | 1 | -5/+19 |
| | |||||
* | default scope should return an ActiveRecord::Relation [ci skip] | José Corcuera | 2012-09-07 | 1 | -1/+1 |
| | |||||
* | How to use default_scope as a class method | José Corcuera | 2012-09-07 | 1 | -0/+10 |
| | |||||
* | Fixed validation issues related to taken IDs in AR Querying guide [ci skip] | Aldo "xoen" Giambelluca | 2012-09-02 | 1 | -4/+4 |
| | |||||
* | Update list of finder methods | Oscar Del Ben | 2012-08-06 | 1 | -0/+3 |
| | |||||
* | AR::Relation#order: make new order prepend old one | Bogdan Gusiev | 2012-07-31 | 1 | -1/+8 |
| | | | | | | | User.order("name asc").order("created_at desc") # SELECT * FROM users ORDER BY created_at desc, name asc This also affects order defined in `default_scope` or any kind of associations. | ||||
* | Changelog and doc updates for the previous changes. | Jon Leighton | 2012-07-27 | 1 | -15/+0 |
| | |||||
* | Fix typo | Chun-wei Kuo | 2012-07-11 | 1 | -1/+1 |
| | |||||
* | Update list of AR Relation methods | Oscar Del Ben | 2012-07-05 | 1 | -10/+16 |
| | |||||
* | Bump query guide to latest version | Oscar Del Ben | 2012-07-05 | 1 | -2/+0 |
| | |||||
* | Add changelog entry and guide updates for pluck with multiple columns | Carlos Antonio da Silva | 2012-06-22 | 1 | -6/+16 |
| | |||||
* | cut down spaces [ci skip] | Vijay Dev | 2012-05-30 | 1 | -3/+3 |
| | |||||
* | Revert "Revert "[AR querying guide] Add examples for take(limit), ↵ | Vijay Dev | 2012-05-30 | 1 | -0/+48 |
| | | | | | | | | | | first(limit) and last(limit)"" This reverts commit 5559a2ae98dcda6854f38890025b52edfb2836f5. Reason: These are for selecting multiple objects and there isn't a need to club them with the selecting single objects section, as discussed with the author. | ||||
* | document the AR::Base#ids method introduced in 9307616 [ci skip] | Vijay Dev | 2012-05-17 | 1 | -0/+18 |
| | |||||
* | some corrections in the AR query guide [ci skip] | Vijay Dev | 2012-05-05 | 1 | -13/+15 |
| | |||||
* | Update `first`, `last` and `take` in guides | Marcelo Silveira | 2012-05-05 | 1 | -8/+42 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-01 | 1 | -1/+1 |
|\ | |||||
| * | Correct small consistency issue in AR querying guide | Matthias Schmidt | 2012-04-28 | 1 | -1/+1 |
| | | |||||
* | | Removed unclear doc in AR querying guide [ci skip] | Vijay Dev | 2012-04-29 | 1 | -16/+0 |
|/ | | | | | The range example used in array conditions is unclear and talks about the old 'conditions' option. Closes #4943. | ||||
* | copy edits [ci skip] | Vijay Dev | 2012-04-25 | 1 | -1/+1 |
| | |||||
* | Fix markdown in textile. | Dmytrii Nagirniak | 2012-04-23 | 1 | -1/+1 |
| | |||||
* | Make it explicit that Symbol-s are not officially supported. | Dmytrii Nagirniak | 2012-04-23 | 1 | -0/+2 |
| | | | | This will remove a lot of controversy. As an example, see https://github.com/ernie/squeel/issues/67#issuecomment-5270896 | ||||
* | Fix typo where a table name in a join was singular. | Don Petersen | 2012-04-16 | 1 | -1/+1 |
| | |||||
* | SQL query formatting | Bertrand Chardon | 2012-04-13 | 1 | -2/+7 |
| | | | | | Reformatted two SQL queries in Section 6) and 7) to avoid horizontal scrolling where possible. | ||||
* | Don't use arel_table in published_and_commented example in querying guide | Ryan Bigg | 2012-04-07 | 1 | -1/+1 |
| | |||||
* | Optimistic locking: lock_version needed type information. | Martin Eisenhardt | 2012-04-05 | 1 | -1/+1 |
| | |||||
* | fix typo. thanks @nertzy | Jon Leighton | 2012-03-30 | 1 | -1/+1 |
| | |||||
* | Update guides to reflect 0a12a5f8169685915cbb7bf4d0a7bb482f7f2fd2 | Jon Leighton | 2012-03-30 | 1 | -20/+10 |
| | |||||
* | remove irrelevant references to ARel | Jon Leighton | 2012-03-30 | 1 | -2/+2 |
| | |||||
* | Add Relation#find_by and Relation#find_by! | Jon Leighton | 2012-03-30 | 1 | -0/+36 |
| | |||||
* | moves the guides up to the root directory | Xavier Noria | 2012-03-17 | 1 | -0/+1457 |