| Commit message (Expand) | Author | Age | Files | Lines |
... | |
| * | | | | | find_in_batches should not mutate its argument | Marc-Andre Lafortune | 2014-01-29 | 1 | -0/+6 |
* | | | | | | Aesthetic | Rafael Mendonça França | 2014-01-29 | 1 | -6/+7 |
* | | | | | | Fixing issue with activerecord serialization not being able to dump a record ... | Mauricio Linhares | 2014-01-29 | 1 | -0/+23 |
|/ / / / / |
|
* | | | | | Merge pull request #13201 from marcandre/find_in_batch_enumerator | Rafael Mendonça França | 2014-01-29 | 1 | -0/+13 |
|\ \ \ \ \ |
|
| * | | | | | `find_in_batches` now returns an `Enumerator` when called without a block, so... | Marc-Andre Lafortune | 2013-12-06 | 1 | -0/+13 |
* | | | | | | `enum` now raises on "dangerous" name conflicts | Godfrey Chan | 2014-01-29 | 1 | -0/+59 |
* | | | | | | `scope` now raises on "dangerous" name conflicts | Godfrey Chan | 2014-01-29 | 1 | -0/+57 |
* | | | | | | Fixed a bug in AR::Base#respond_to? | Godfrey Chan | 2014-01-29 | 1 | -0/+5 |
* | | | | | | Correctly send the string given to lock! and reload(:lock) to the lock scope ... | Mauricio Linhares | 2014-01-29 | 1 | -0/+11 |
* | | | | | | Handle aliased attributes in AR::Relation#select, #order, etc. | Tsutomu Kuroda | 2014-01-29 | 2 | -0/+35 |
* | | | | | | Fix indent on test case [ci skip] | Carlos Antonio da Silva | 2014-01-28 | 1 | -2/+2 |
* | | | | | | use the new clear_validators! api everywhere to reset validators in tests | Kuldeep Aggarwal | 2014-01-28 | 2 | -3/+3 |
* | | | | | | Merge pull request #13785 from kuldeepaggarwal/fix-find_with_multiple_ids | Yves Senn | 2014-01-24 | 1 | -7/+24 |
|\ \ \ \ \ \ |
|
| * | | | | | | Fix `ActiveRecord::RecordNotFound` error message with custom primary key | Kuldeep Aggarwal | 2014-01-25 | 1 | -7/+24 |
* | | | | | | | Remove unused assignment to fix warnings in enum test. | Vipul A M | 2014-01-24 | 1 | -1/+0 |
|/ / / / / / |
|
* | | | | | | Calling reset on a collection association should unload the assocation | Kelsey Schlarman | 2014-01-21 | 1 | -0/+9 |
* | | | | | | Ensure AR #second, #third, etc. finders work through associations | Jason Meller | 2014-01-21 | 6 | -72/+109 |
* | | | | | | Merge pull request #13776 from rails/dirty-enum | Rafael Mendonça França | 2014-01-21 | 3 | -0/+74 |
|\ \ \ \ \ \ |
|
| * | | | | | | Add more tests for the dirty feature for enums | Rafael Mendonça França | 2014-01-21 | 3 | -0/+34 |
| * | | | | | | Make enum feature work with dirty methods | Rafael Mendonça França | 2014-01-21 | 1 | -0/+40 |
* | | | | | | | `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore. | Rafael Mendonça França | 2014-01-21 | 2 | -0/+14 |
* | | | | | | | prepend table name for `Relation#select` columns. | Yves Senn | 2014-01-21 | 1 | -0/+6 |
* | | | | | | | Fail early with "Primary key not included in the custom select clause" in fin... | Alexander Balashov | 2014-01-21 | 1 | -1/+3 |
|/ / / / / / |
|
* | | | | | | Ensure #second acts like #first AR finder | Jason Meller | 2014-01-20 | 6 | -26/+123 |
* | | | | | | Merge pull request #13745 from nextgearcapital/master | Rafael Mendonça França | 2014-01-19 | 2 | -0/+4 |
|\ \ \ \ \ \ |
|
| * | | | | | | set encoding to binmode for pipe | Anna Carey | 2014-01-17 | 2 | -0/+4 |
* | | | | | | | Restore ActiveRecord states after a rollback for models w/o callbacks | Godfrey Chan | 2014-01-18 | 1 | -0/+11 |
* | | | | | | | test to ensure bad prepared statements raise a StatementInvalid exception | Aaron Patterson | 2014-01-17 | 1 | -0/+6 |
|/ / / / / / |
|
* | | | | | | Extract a method to simplify setup code | Carlos Antonio da Silva | 2014-01-16 | 1 | -23/+27 |
* | | | | | | Use minitest's skip rather than conditionals + early returns | Carlos Antonio da Silva | 2014-01-16 | 1 | -47/+38 |
* | | | | | | Move AR test classes inside the test case | Carlos Antonio da Silva | 2014-01-16 | 1 | -38/+46 |
* | | | | | | Do not set up a variable used only in two tests | Carlos Antonio da Silva | 2014-01-16 | 1 | -15/+18 |
* | | | | | | No need for instance vars on single tests | Carlos Antonio da Silva | 2014-01-16 | 1 | -8/+8 |
* | | | | | | Cleanup duplicated setup of callbacks in transactions tests | Carlos Antonio da Silva | 2014-01-16 | 1 | -48/+19 |
* | | | | | | No need to use #send with public methods | Carlos Antonio da Silva | 2014-01-16 | 1 | -10/+10 |
* | | | | | | Make AR::Base#touch fire the after_commit and after_rollback callbacks | Harry Brundage | 2014-01-16 | 3 | -2/+63 |
* | | | | | | Fix test for cache_key + touched | Carlos Antonio da Silva | 2014-01-16 | 1 | -9/+9 |
* | | | | | | reset column information after fiddling with `Encoding.default_internal` | Yves Senn | 2014-01-16 | 1 | -0/+1 |
* | | | | | | we have `with_env_tz` as global test helper. Remove duplicate. | Yves Senn | 2014-01-16 | 2 | -14/+0 |
* | | | | | | isolate class attribute assignment in `migration_test.rb` | Yves Senn | 2014-01-16 | 1 | -22/+33 |
* | | | | | | use `teardown` for cleanup, not `setup`. | Yves Senn | 2014-01-16 | 1 | -5/+2 |
* | | | | | | tests without transactional fixtures need to cleanup afterwards. | Yves Senn | 2014-01-16 | 1 | -0/+7 |
* | | | | | | no need to `return skip` in tests. `skip` is enough. | Yves Senn | 2014-01-16 | 4 | -4/+4 |
* | | | | | | rm dup code | Aaron Patterson | 2014-01-14 | 1 | -13/+0 |
* | | | | | | "string" isn't a valid column type for ActiveRecord | Aaron Patterson | 2014-01-14 | 1 | -1/+1 |
* | | | | | | don't establish a new connection when testing with `sqlite3_mem`. | Yves Senn | 2014-01-14 | 1 | -15/+21 |
* | | | | | | sqlite >= 3.8.0 supports partial indexes | Cody Cutrer | 2014-01-14 | 1 | -0/+2 |
* | | | | | | Don't try to get the subclass if the inheritance column doesn't exist | Ujjwal Thaakar | 2014-01-14 | 3 | -1/+18 |
* | | | | | | Enum mappings are now exposed via class methods instead of constants. | Godfrey Chan | 2014-01-14 | 1 | -3/+3 |
* | | | | | | Merge pull request #13669 from chulkilee/name-error-name | Yves Senn | 2014-01-14 | 1 | -1/+3 |
|\ \ \ \ \ \ |
|