aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for...Diego Carrion2015-06-221-0/+18
|/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | AR absence validator respects `marked_for_destruction?`. Closes #20449.Yves Senn2015-06-221-0/+75
* | | | | | | | | | | | | | | | fix test not failing when executed isolatedDiego Carrion2015-06-191-1/+1
| |_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is givenSean Griffin2015-06-191-0/+10
* | | | | | | | | | | | | | | Merge pull request #19843 from marshall-lee/explain_cte_queriesYves Senn2015-06-191-0/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Let WITH (CTE) queries be explainableVladimir Kochnev2015-05-281-0/+5
* | | | | | | | | | | | | | | | raise ActiveModel::MissingAttributeError when trying to access a relationship...Diego Carrion2015-06-161-0/+4
* | | | | | | | | | | | | | | | Merge pull request #20257 from prathamesh-sonpatki/test-for-serial-for-quoted...Arthur Nogueira Neves2015-06-151-0/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Added test case for serial? method when sequence name is not quotedPrathamesh Sonpatki2015-05-221-0/+6
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | make `remove_index :table, :column` reversible.Yves Senn2015-06-152-6/+15
| |_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Add a test to ensure `serialize` persists `nil` as `NULL`Sean Griffin2015-06-121-0/+8
* | | | | | | | | | | | | | | Don't crash when mutating attributes in a getterSean Griffin2015-06-121-0/+16
* | | | | | | | | | | | | | | Merge pull request #20480 from senny/test_runnerYves Senn2015-06-1277-223/+227
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | make it possible to run AR tests with bin/testYves Senn2015-06-1177-223/+227
* | | | | | | | | | | | | | | | Merge pull request #20226 from EpicH0liday/reversible-remove-foreign-keyYves Senn2015-06-121-1/+30
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Add an invert method for remove_foreign_keyAster Ryan2015-06-111-1/+30
* | | | | | | | | | | | | | | | | Add enum prefix/suffix option to enum definitionIgor Kapkov2015-06-124-0/+62
|/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | Add a missing test case for the persistence behavior of `serialize`Sean Griffin2015-06-111-0/+13
* | | | | | | | | | | | | | | | Correctly handle array columns with defaults in the schema dumperSean Griffin2015-06-112-0/+6
|/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Merge pull request #20437 from pwnall/abstract_fixturesRafael Mendonça França2015-06-094-0/+30
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Fix crash when loading fixture with belongs_to association defined in abstrac...Victor Costan2015-06-044-0/+30
* | | | | | | | | | | | | | | Return a `Point` object from the PG Point typeSean Griffin2015-06-051-11/+108
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | Apply Active Record suppression to all savesGeorge Claghorn2015-06-041-1/+32
* | | | | | | | | | | | | | Skip test that fails from outdated sqlite3 on travisSean Griffin2015-06-021-7/+9
* | | | | | | | | | | | | | Fix postgresql DISTINCT requirement in pluck testKevin Deisz2015-06-021-2/+2
* | | | | | | | | | | | | | Merge pull request #20362 from kddeisz/enumerable_pluckRafael Mendonça França2015-06-011-0/+21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Allow Enumerable#pluck to take a splat.Kevin Deisz2015-05-291-0/+21
* | | | | | | | | | | | | | | Map :bigint as NUMBER(19) sql_type by using `:limit => 19` for OracleYasuo Honda2015-06-012-2/+6
* | | | | | | | | | | | | | | Ensure symbols passed to `select` are always quotedSean Griffin2015-05-301-0/+22
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | Persist user provided default values, even if unchangedSean Griffin2015-05-282-26/+6
* | | | | | | | | | | | | | Allow proc defaults with the Attributes APISean Griffin2015-05-281-0/+10
| |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #20196 from huoxito/preload-association-and-mergesRafael Mendonça França2015-05-281-1/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Properly append preload / includes args on MergerWashington Luiz2015-05-281-1/+27
| |/ / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #20041 from akshay-vishnoi/sqlite_collationRafael Mendonça França2015-05-283-5/+58
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Add collation support for string and text columns in SQLite3Akshay Vishnoi2015-05-283-5/+58
* | | | | | | | | | | | | | Add test to 57daaefRafael Mendonça França2015-05-281-1/+1
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #20171 from georgeclaghorn/enums-in-fixturesRafael Mendonça França2015-05-274-32/+50
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Resolve enums in test fixturesGeorge Claghorn2015-05-274-32/+50
* | | | | | | | | | | | | | Merge pull request #19886 from henders/henders/reload_wipe_query_cacheRafael Mendonça França2015-05-271-0/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Cause ActiveRecord::Base::reload to also ignore the QueryCache.Shane Hender2015-04-281-0/+27
* | | | | | | | | | | | | | | Merge pull request #17654 from kamipo/strict_mode_explicitlyRafael Mendonça França2015-05-272-0/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | If specify `strict: :default` explicitly, do not set sql_mode.Ryuta Kamizono2015-05-262-0/+18
* | | | | | | | | | | | | | | Merge pull request #20269 from wojobucco/masterRafael Mendonça França2015-05-271-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Changed mysqldump to include sprocs and functionsJonathan Worek2015-05-221-4/+4
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | add `extend` option on `has_and_belongs_to_many`.keepcosmos2015-05-261-0/+15
* | | | | | | | | | | | | | Remove unused variableArun Agrawal2015-05-261-1/+1
* | | | | | | | | | | | | | deprecate `Relation#uniq` use `Relation#distinct` instead.Yves Senn2015-05-268-28/+41
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #20175 from eugeneius/copy_schema_cache_after_forkRafael Mendonça França2015-05-182-23/+46
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Add schema cache to new connection pool after forkEugene Kenny2015-05-172-23/+46
* | | | | | | | | | | | | | Merge pull request #20190 from kamipo/fix_serial_with_quoted_sequence_nameRafael Mendonça França2015-05-181-0/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \