aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* fix set_pk_sequence and add a test for it.Aaron Patterson2014-10-311-0/+8
* Don't modify the columns hash to set defaults from the attributes APISean Griffin2014-10-311-10/+14
* Load test schema even if there are no migrationsSean Griffin2014-10-311-0/+13
* Merge pull request #17305 from ziggythehamster/activerecord-connectionhandlin...Rafael Mendonça França2014-10-311-0/+89
|\
| * If Rails is not defined, check ENV["RAILS_ENV"] and ENV["RACK_ENV"].Keith Gable2014-10-211-0/+89
* | Use the correct values for int max and minSean Griffin2014-10-312-47/+106
* | Treat strings greater than int max value as out of rangeSean Griffin2014-10-313-15/+14
* | Don't require calculations to be aliased to a columnSean Griffin2014-10-311-1/+0
* | Remove redundant `to_s` in interpolationclaudiob2014-10-301-3/+3
* | add bigserial pk supportAaron Patterson2014-10-291-0/+20
* | fix MySQL enum type lookup with values matching another type. Closes #17402.Yves Senn2014-10-291-0/+4
* | 💣Sean Griffin2014-10-282-2/+5
* | Allow Relation#rewhere to work with infinite range valuesDan Olson2014-10-271-0/+21
* | Merge pull request #17374 from maurogeorge/scope-exceptionYves Senn2014-10-271-0/+7
|\ \
| * | Raises ArgumentError when try to define a scope without a callableMauro George2014-10-231-0/+6
| |/
* | Merge pull request #14143 from derekprior/dp-compound-index-orderingYves Senn2014-10-272-3/+3
|\ \
| * | Use type column first in multi-column indexesDerek Prior2014-10-242-3/+3
| |/
* / Fix Relation.rewhere to work with Range valuesDan Olson2014-10-201-0/+7
|/
* Merge pull request #17019 from yuki24/add-class-name-to-unknown-attr-errorYves Senn2014-10-201-2/+2
|\
| * AR::UnknownAttributeError should include the class name of a recordYuki Nishijima2014-10-151-3/+3
* | AR::UnknownAttributeError should include the class name of a recordYuki Nishijima2014-10-201-3/+3
* | Fixed test throwing unused variable warningVipul A M2014-10-191-1/+1
* | Merge pull request #17302 from claudiob/replace-slower-block-call-with-faster...Rafael Mendonça França2014-10-181-3/+3
* | Revert "Replace (slower) block.call with (faster) yield"Zachary Scott2014-10-181-3/+3
* | Replace (slower) block.call with (faster) yieldclaudiob2014-10-181-3/+3
* | Add a deprecation warning for abiguous boolean valuesSean Griffin2014-10-161-4/+6
* | test, better describe `SerializationTypeMismatch` behavior. refs #14716.Yves Senn2014-10-161-2/+1
* | pg, test assigning non-array values to an array column. Closes #14716.Yves Senn2014-10-161-0/+9
* | add table.bigint supportAaron Patterson2014-10-151-0/+19
|/
* Raise an error for has_one associations which try to go :through a polymorphi...Tu Hoang2014-10-152-0/+9
* :scissors: duplicated `require`sGodfrey Chan2014-10-141-1/+0
* make sure cache is not used for collection assocations tooAaron Patterson2014-10-142-1/+13
* break cache if we're inside a "scoping" call. fixes #17052Aaron Patterson2014-10-141-0/+10
* measure record instantiation time in AS::NotificationsAaron Patterson2014-10-131-0/+36
* add length to ActiveRecord::ResultAaron Patterson2014-10-131-0/+4
* Merge pull request #17232 from Agis-/issue-17209Rafael Mendonça França2014-10-132-0/+18
|\
| * Autosave callbacks shouldn't be `after_save`Agis-2014-10-132-0/+18
* | Replace Enumerable#reverse.each with Enumerable#reverse_eachErik Michaels-Ober2014-10-131-1/+1
|/
* Merge pull request #17014 from grosser/grosser/fast-fixturesAaron Patterson2014-10-102-32/+0
|\
| * speed up fixtures by not loading all their classesgrosser2014-10-062-32/+0
* | ar/connection_pool: honor overriden rack.test in middlewareSimon Eskildsen2014-09-231-0/+8
* | add a truncate method to the connectionAaron Patterson2014-09-222-0/+23
|/
* Better regression test for Fixtures with fk as a symbolArthur Neves2014-09-222-11/+2
* fix fixtures not loading if a belongs_to association is defined with a :forei...Will Bryant2014-09-221-0/+9
* Fix assertions in AR::TestCase::AttributeMethodsTestYuki Nishijima2014-09-211-3/+3
* Fix typo [ci skip]Yuki Nishijima2014-09-201-1/+1
* Fix find_by with associations not working with adequate recordGodfrey Chan2014-09-201-0/+5
* Merge pull request #15791 from zev/add_model_to_recordnotfound_messageAaron Patterson2014-09-191-10/+18
|\
| * Update RecordNotFound exception cases to include a message with theZev Blut2014-06-181-10/+18
* | Merge pull request #16875 from alan/dont_autosave_has_one_through_recordRafael Mendonça França2014-09-171-0/+24
|\ \