aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_querying.textile
Commit message (Collapse)AuthorAgeFilesLines
* minor fixes and edits [ci skip]Vijay Dev2012-09-091-1/+1
|
* add note about using block form of unscoped in AR Querying guide [ci skip]Francesco Rodriguez2012-09-081-5/+19
|
* default scope should return an ActiveRecord::Relation [ci skip]José Corcuera2012-09-071-1/+1
|
* How to use default_scope as a class methodJosé Corcuera2012-09-071-0/+10
|
* Fixed validation issues related to taken IDs in AR Querying guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-4/+4
|
* Update list of finder methodsOscar Del Ben2012-08-061-0/+3
|
* AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-311-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 Leighton2012-07-271-15/+0
|
* Fix typoChun-wei Kuo2012-07-111-1/+1
|
* Update list of AR Relation methodsOscar Del Ben2012-07-051-10/+16
|
* Bump query guide to latest versionOscar Del Ben2012-07-051-2/+0
|
* Add changelog entry and guide updates for pluck with multiple columnsCarlos Antonio da Silva2012-06-221-6/+16
|
* cut down spaces [ci skip]Vijay Dev2012-05-301-3/+3
|
* Revert "Revert "[AR querying guide] Add examples for take(limit), ↵Vijay Dev2012-05-301-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 Dev2012-05-171-0/+18
|
* some corrections in the AR query guide [ci skip]Vijay Dev2012-05-051-13/+15
|
* Update `first`, `last` and `take` in guidesMarcelo Silveira2012-05-051-8/+42
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-011-1/+1
|\
| * Correct small consistency issue in AR querying guideMatthias Schmidt2012-04-281-1/+1
| |
* | Removed unclear doc in AR querying guide [ci skip]Vijay Dev2012-04-291-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 Dev2012-04-251-1/+1
|
* Fix markdown in textile.Dmytrii Nagirniak2012-04-231-1/+1
|
* Make it explicit that Symbol-s are not officially supported. Dmytrii Nagirniak2012-04-231-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 Petersen2012-04-161-1/+1
|
* SQL query formattingBertrand Chardon2012-04-131-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 guideRyan Bigg2012-04-071-1/+1
|
* Optimistic locking: lock_version needed type information.Martin Eisenhardt2012-04-051-1/+1
|
* fix typo. thanks @nertzyJon Leighton2012-03-301-1/+1
|
* Update guides to reflect 0a12a5f8169685915cbb7bf4d0a7bb482f7f2fd2Jon Leighton2012-03-301-20/+10
|
* remove irrelevant references to ARelJon Leighton2012-03-301-2/+2
|
* Add Relation#find_by and Relation#find_by!Jon Leighton2012-03-301-0/+36
|
* moves the guides up to the root directoryXavier Noria2012-03-171-0/+1457