aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Revert the behavior of booleans in string columns to that of 4.1Sean Griffin2014-11-091-2/+2
* Ensure HABTM relationships produce valid class names (Fixes #17119)Sammy Larbi2014-11-091-1/+10
* default scopes should break the cache on singulur_association.alfa-jpn2014-11-081-0/+29
* default scopes should break the cache on has_many.Aaron Patterson2014-11-071-0/+26
* pg tests, get rid of `sql_types_test.rb`.Yves Senn2014-11-073-18/+14
* pg tests, only execute what's necessary.Yves Senn2014-11-072-27/+26
* Merge pull request #17541 from OpenSourceProjects/meaninful_messageYves Senn2014-11-071-3/+9
|\
| * Print out a meaningful error when ActiveRecord::ReadOnlyRecord is raisedFranky W2014-11-061-3/+6
|/
* tests, remove unneeded requires.Yves Senn2014-11-064-11/+0
* tests, use SchemaDumpingHelper to dump a specific table.Yves Senn2014-11-061-12/+12
* Merge pull request #17360 from bronzle/includes_and_unscopedYves Senn2014-11-051-0/+8
|\
| * copy reflection_scopes’s unscoped value when building scope for preloading,...Byron Bischoff2014-10-221-0/+8
* | Added SchemaDumper support for tables with jsonb columns.Ted O'Meara2014-11-042-7/+8
* | Add an `assert_deprecated` for `sanitize_sql_hash_for_conditions`Sean Griffin2014-11-021-1/+3
* | Handle `RangeError` from casting in `find_by` and `find_by!` on RelationSean Griffin2014-11-021-0/+10
* | Add a test case for range type castingSean Griffin2014-11-011-0/+4
* | Fix test which failed in isolationSean Griffin2014-11-011-0/+1
* | Use bind values for joined tables in where statementsSean Griffin2014-11-011-0/+9
* | 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-281-1/+4
* | 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-151-0/+6
* :scissors: duplicated `require`sGodfrey Chan2014-10-141-1/+0
* make sure cache is not used for collection assocations tooAaron Patterson2014-10-141-1/+12