Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build fix when running in isolation | Arun Agrawal | 2014-11-14 | 1 | -0/+1 |
| | | | | | `Computer` class needs to be require See #17217 for more details | ||||
* | Add support for module-level table_suffix in models | Jenner LaFave | 2014-05-05 | 1 | -0/+28 |
| | | | | | This makes table_name_suffix work the same as table_name_prefix when using namespaced models. Pretty much the same as 67d1cec. | ||||
* | Use teardown helper method. | Guo Xiang Tan | 2014-03-14 | 1 | -1/+1 |
| | | | | | | | | Follow-Up to https://github.com/rails/rails/pull/14348 Ensure that SQLCounter.clear_log is called after each test. This is a step to prevent side effects when running tests. This will allow us to run them in random order. | ||||
* | add missing require | Aaron Patterson | 2013-10-02 | 1 | -0/+1 |
| | |||||
* | Deprecate ActiveRecord::Base.scoped. | Jon Leighton | 2012-07-27 | 1 | -4/+4 |
| | | | | | | | It doesn't serve much purpose now that ActiveRecord::Base.all returns a Relation. The code is moved to active_record_deprecated_finders. | ||||
* | remove deprecated calls | Jon Leighton | 2012-04-27 | 1 | -3/+3 |
| | |||||
* | %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other ↵ | Jon Leighton | 2012-04-27 | 1 | -1/+1 |
| | | | | things | ||||
* | remove calls to find(:first), find(:last) and find(:all) | Jon Leighton | 2012-04-26 | 1 | -4/+4 |
| | |||||
* | fix tests | Jon Leighton | 2012-04-13 | 1 | -1/+1 |
| | |||||
* | Deprecate inferred JOINs with includes + SQL snippets. | Jon Leighton | 2012-01-16 | 1 | -1/+1 |
| | | | | | | See the CHANGELOG for details. Fixes #950. | ||||
* | Revert "Deprecate implicit eager loading. Closes #950." | Jon Leighton | 2012-01-16 | 1 | -1/+1 |
| | | | | This reverts commit c99d507fccca2e9e4d12e49b4387e007c5481ae9. | ||||
* | Deprecate implicit eager loading. Closes #950. | Jon Leighton | 2011-12-29 | 1 | -1/+1 |
| | |||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
| | | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. | ||||
* | just use a hash for doing association caching | Aaron Patterson | 2011-01-07 | 1 | -1/+0 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -2/+2 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | assert_equal should be used instead of assert | Neeraj Singh | 2010-05-18 | 1 | -1/+1 |
| | | | | | | [#4629 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Refactor compute_type to handle situations where the correct class is ↵ | Andrew White | 2010-04-12 | 1 | -1/+32 |
| | | | | | | already loaded Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Add the ability to specify table_name_prefix on individual modules | Andrew White | 2010-03-28 | 1 | -0/+28 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Changed ActiveRecord::Base.store_full_sti_class to be true by default ↵ | David Heinemeier Hansson | 2010-01-03 | 1 | -0/+4 |
| | | | | reflecting the previously announced Rails 3 default [DHH] | ||||
* | Changed to use klass instead of constantizing in assign_ids generated method | Dmitry Ratnikov | 2009-08-09 | 1 | -12/+27 |
| | | | | | | [#260 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Modified Rich Bradley's test-case to fail as part of suite and with a ↵ | Dmitry Ratnikov | 2009-08-09 | 1 | -2/+16 |
| | | | | | | reasonable message Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix for nested :include with namespaced models. | Rich Bradley | 2009-08-09 | 1 | -0/+13 |
| | | | | [#260 state:committed] | ||||
* | Improve ActiveRecord::Base#table_name unit tests for nested classes. Closes ↵ | Josh Peek | 2008-04-07 | 1 | -0/+5 |
| | | | | | | #10289. [scott_willson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails | Jeremy Kemper | 2008-01-21 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix paths | Jeremy Kemper | 2008-01-18 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Move tests to cases | Jeremy Kemper | 2008-01-18 | 1 | -0/+34 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |