| Commit message (Expand) | Author | Age | Files | Lines |
* | 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 |
|\ |
|
| * | Set NameError#name | Chulki Lee | 2014-01-13 | 1 | -1/+3 |
* | | unscope should remove bind values associated with the where | Aaron Patterson | 2014-01-13 | 1 | -0/+9 |
* | | recover from test runs that leave the database in a bad state | Aaron Patterson | 2014-01-13 | 1 | -1/+1 |
|/ |
|
* | fix bug in becomes! when changing from base to subclass. Closes #13272. | Yves Senn | 2014-01-13 | 1 | -0/+11 |
* | use enum labels as form values. Achieved by `_before_type_cast`. | Yves Senn | 2014-01-11 | 1 | -0/+4 |
* | Restore DATABASE_URL even if it's nil in connection_handler test | Prathamesh Sonpatki | 2014-01-10 | 1 | -1/+1 |
* | Ensure Active Record connection consistency | schneems | 2014-01-09 | 1 | -0/+127 |
* | make `change_column_null` reversible. Closes #13576. | Yves Senn | 2014-01-08 | 1 | -0/+16 |
* | create/drop test and development databases only if RAILS_ENV is nil | Damien Mathieu | 2014-01-08 | 1 | -2/+24 |
* | Merge pull request #13355 from dylanahsmith/migration-version | Rafael Mendonça França | 2014-01-07 | 2 | -0/+12 |
|\ |
|
| * | activerecord: Initialize Migration with version from MigrationProxy. | Dylan Thacker-Smith | 2014-01-06 | 2 | -0/+12 |
* | | Make change_table use object of current database adapter | Nishant Modak | 2014-01-07 | 2 | -1/+19 |