aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/dup_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add missing require to fix test :bomb:Carlos Antonio da Silva2014-05-021-0/+1
|
* Move dup destroyed test to specific file that tests dup logicCarlos Antonio da Silva2014-05-021-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 callRafael Mendonça França + Kassio Borges2013-08-311-1/+1
| | | | | We are checking this when defining the default scope and raising an ArgumentError
* Fix typo: overriden => overriDDenAlexander Balashov2013-03-281-1/+1
|
* fix typos in AR. lots of them.Vipul A M2013-03-191-1/+1
|
* Do not override attributes on `dup` by default scopesHiroshige Umino2013-02-261-0/+9
|
* Missing repair_validationsAkira Matsuda2013-01-221-12/+14
|
* Call super to nullify the reference to the original errors object in the ↵Christian Seiler2012-10-161-0/+14
| | | | dup'ed object (call ActiveModel::Validations#initialize_dup). Closes #7291
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-1/+1
|
* Fixed after_initialize callbacks call on AR model #dupBogdan Gusiev2012-01-071-0/+8
|
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-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 timestampsFranck Verrot2010-11-251-0/+24
|
* fixing variable names. oops!Aaron Patterson2010-11-231-2/+2
|
* clone and dup are working on 1.8Aaron Patterson2010-11-231-0/+15
|
* fixing dup regressionsAaron Patterson2010-11-231-3/+6
|
* renaming duplication test to dup testAaron Patterson2010-11-231-0/+61