Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused "Developer" fixtures from tests | claudiob | 2014-12-08 | 1 | -46/+0 |
| | | | | | The `RecursiveCallbackDeveloper` and `ImmutableMethodDeveloper` classes are not used anymore in tests, and neither is the `@cancelled` variable. | ||||
* | Add #record attribute to RecordNotFound and RecordDestroyed exceptions. | Recursive Madman | 2014-11-26 | 1 | -2/+4 |
| | | | | This allows these exceptions to be handled generically in conjunction with RecordInvalid. | ||||
* | Build fix when running in isolation | Arun Agrawal | 2014-11-14 | 1 | -0/+2 |
| | | | | | `Computer` class needs to be require See #17217 for more details | ||||
* | callbacks are wrapped with lambdas | Aaron Patterson | 2013-05-10 | 1 | -1/+1 |
| | |||||
* | Fix some typos in AR- CHANGELOG, tests, method doc. fixed | Vipul A M | 2013-03-20 | 1 | -1/+1 |
| | |||||
* | Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" | Guillermo Iguaran | 2013-01-18 | 1 | -1/+1 |
| | | | | | This reverts commit 637a7d9d357a0f3f725b0548282ca8c5e7d4af4a, reversing changes made to 5937bd02dee112646469848d7fe8a8bfcef5b4c1. | ||||
* | User Rails 4 find_by | robertomiranda | 2013-01-18 | 1 | -1/+1 |
| | |||||
* | Fix collisions with before and after validation callbacks. | John Foley | 2012-09-23 | 1 | -0/+49 |
| | | | | | | This commit allows a user to do something like: before_validation :do_stuff, :on => [ :create, :update ] after_validation :do_more, :on => [ :create, :update ] | ||||
* | + ActiveRecord::Base#destroy! | Marc-Andre Lafortune | 2012-06-06 | 1 | -0/+2 |
| | |||||
* | Deprecate set_table_name in favour of self.table_name= or defining your own ↵ | Jon Leighton | 2011-11-29 | 1 | -7/+7 |
| | | | | method. | ||||
* | 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. | ||||
* | Cleanup deprecation warnings in active record | Carlos Antonio da Silva | 2010-09-06 | 1 | -9/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fisting after_rollback and after commit callbacks | Aaron Patterson | 2010-08-20 | 1 | -1/+6 |
| | |||||
* | Remove test ordering bug by using another class | Evan Phoenix | 2010-03-22 | 1 | -4/+7 |
| | |||||
* | squelching more warnings in the AR tests. [#4218 state:resolved] | Aaron Patterson | 2010-03-18 | 1 | -1/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Ensure before_validation and after_validation accepts :on as option. | José Valim | 2010-01-06 | 1 | -1/+44 |
| | |||||
* | Refactor new callbacks and AR implementation. | José Valim | 2009-09-08 | 1 | -3/+3 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Changed ActiveRecord to use new callbacks and speed up observers by only ↵ | José Valim | 2009-09-08 | 1 | -61/+57 |
| | | | | | | notifying events that are actually being consumed. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -2/+2 |
| | | | | [#1617 state:resolved] | ||||
* | Fixed broken after_save callback; was being called when before_create was ↵ | Michael Lovitt | 2009-01-16 | 1 | -3/+41 |
| | | | | | | | canceled or before_update was canceled Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1735 state:committed] | ||||
* | 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 | ||||
* | Move tests to cases | Jeremy Kemper | 2008-01-18 | 1 | -0/+400 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |