Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removes Array#random_element and backports Array#sample from Ruby 1.9, ↵ | Xavier Noria | 2010-06-05 | 1 | -7/+7 |
| | | | | thanks to Marc-Andre Lafortune | ||||
* | Change on Array extension from rand => random_element [#4555 state:committed] | Santiago Pastorino | 2010-05-16 | 1 | -7/+7 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Don't use local vars before testing its conditional. | Emilio Tagua | 2009-08-03 | 1 | -2/+0 |
| | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -1/+1 |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | ||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+1 |
| | |||||
* | Use DependencyModule for included hooks in ActiveRecord | Bryan Helmkamp | 2009-05-11 | 1 | -7/+6 |
| | |||||
* | Fix models load order to be able to run unit tests. | Emilio Tagua | 2009-04-23 | 1 | -5/+5 |
| | | | | | | [#2550 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure NoMethodError isn't raised when some of the nested eager loaded ↵ | Murray Steele | 2009-03-12 | 1 | -0/+29 |
| | | | | | | associations are empty [#1696 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | remember created records and select a random one instead of relying on ↵ | S. Brent Faulkner | 2008-08-21 | 1 | -12/+30 |
| | | | | | | sequential id values starting at 1 Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Move the eager load nested include tables into schema.rb and use delete_all ↵ | Michael Koziarski | 2008-02-20 | 1 | -64/+38 |
| | | | | | | instead of drop table to reset the state. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove disconnect! in test case, it causes segfaults on sqlite3 and ↵ | Michael Koziarski | 2008-02-20 | 1 | -6/+2 |
| | | | | | | completely destroys postgresql git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove mysql option from a test that applies to all databases. References ↵ | Jeremy Kemper | 2008-02-19 | 1 | -5/+4 |
| | | | | | | #11154. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't assume all records from nested include are of same class. Closes ↵ | Jeremy Kemper | 2008-02-19 | 1 | -0/+114 |
#11154 [acechase] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |