Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modernizes hash syntax in activerecord | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | |||||
* | applies new string literal convention in activerecord/test | Xavier Noria | 2016-08-06 | 1 | -16/+16 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Don't error when `dup`ing a record with no PK | Sean Griffin | 2014-07-02 | 1 | -0/+12 |
| | |||||
* | Add missing require to fix test :bomb: | Carlos Antonio da Silva | 2014-05-02 | 1 | -0/+1 |
| | |||||
* | Move dup destroyed test to specific file that tests dup logic | Carlos Antonio da Silva | 2014-05-02 | 1 | -0/+8 |
| | | | | | Also change other related test to use existing record rather than creating new one. | ||||
* | Don't need to check if the scope respond to call | Rafael Mendonça França + Kassio Borges | 2013-08-31 | 1 | -1/+1 |
| | | | | | We are checking this when defining the default scope and raising an ArgumentError | ||||
* | Fix typo: overriden => overriDDen | Alexander Balashov | 2013-03-28 | 1 | -1/+1 |
| | |||||
* | fix typos in AR. lots of them. | Vipul A M | 2013-03-19 | 1 | -1/+1 |
| | |||||
* | Do not override attributes on `dup` by default scopes | Hiroshige Umino | 2013-02-26 | 1 | -0/+9 |
| | |||||
* | Missing repair_validations | Akira Matsuda | 2013-01-22 | 1 | -12/+14 |
| | |||||
* | Call super to nullify the reference to the original errors object in the ↵ | Christian Seiler | 2012-10-16 | 1 | -0/+14 |
| | | | | dup'ed object (call ActiveModel::Validations#initialize_dup). Closes #7291 | ||||
* | Remove mass_assignment_options from ActiveRecord | Guillermo Iguaran | 2012-09-16 | 1 | -1/+1 |
| | |||||
* | Fixed after_initialize callbacks call on AR model #dup | Bogdan Gusiev | 2012-01-07 | 1 | -0/+8 |
| | |||||
* | 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. | ||||
* | Testing that dup is resetting the timestamps | Franck Verrot | 2010-11-25 | 1 | -0/+24 |
| | |||||
* | fixing variable names. oops! | Aaron Patterson | 2010-11-23 | 1 | -2/+2 |
| | |||||
* | clone and dup are working on 1.8 | Aaron Patterson | 2010-11-23 | 1 | -0/+15 |
| | |||||
* | fixing dup regressions | Aaron Patterson | 2010-11-23 | 1 | -3/+6 |
| | |||||
* | renaming duplication test to dup test | Aaron Patterson | 2010-11-23 | 1 | -0/+61 |