aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* SQLite: Add more test cases for adding primary keyRyuta Kamizono2017-12-262-58/+100
* Make `sql_type` of primary key in SQLite to comparable with an integer (#28008)Ryuta Kamizono2017-12-262-2/+2
* Fix `add_column` with :primary_key type compatibility for SQLitefatkodima2017-12-252-1/+20
* Don't pass `object_id` to `refute_nil` since `object_id` never to be nilRyuta Kamizono2017-12-261-6/+6
* Merge pull request #27780 from mikelikesbikes/fix-update-attribute-callbacks-...Ryuta Kamizono2017-12-254-5/+15
|\
| * save attributes changed by callbacks after update_attributeMike Busch2017-12-223-5/+11
* | Add test case for using sanitize method in the scope definitionRyuta Kamizono2017-12-221-2/+10
|/
* Merge pull request #31520 from yahonda/introduce_frozen_error_classRyuta Kamizono2017-12-204-3/+7
|\
| * Handle `FrozenError` if it is availableYasuo Honda2017-12-204-3/+7
* | Fix Illegal parameter data type bigint for operation 'get_lock' errorIvan Zinovyev2017-12-201-2/+2
* | Remove passing needless empty string `options` in `create_table`Ryuta Kamizono2017-12-203-7/+4
* | Place args normalization from `left_outer_joins` to `left_outer_joins!`Ryuta Kamizono2017-12-201-4/+2
* | Remove verbose_query_logs from new_framework_defaults_5_2.rbEugene Kenny2017-12-202-4/+3
* | Merge pull request #31177 from albertoalmagro/remove-default-mysql-engine-fro...Matthew Draper2017-12-204-4/+87
|\ \
| * | Remove default ENGINE=InnoDB for Mysql2 adapterAlberto Almagro2017-12-114-4/+87
* | | Fix `count(:all)` to correctly work `distinct` with custom SELECT listRyuta Kamizono2017-12-204-10/+24
* | | Remove outdated comments [ci skip]Ryuta Kamizono2017-12-191-4/+0
* | | Merge pull request #31492 from prathamesh-sonpatki/rm-assert-nothing-raisedEileen M. Uchitelle2017-12-191-4/+2
|\ \ \
| * | | assert_nothing_raised not required here, we can assert directly for the actua...Prathamesh Sonpatki2017-12-191-4/+2
* | | | Quote primary key in the subselect generated by mysql2 adapterRyuta Kamizono2017-12-193-4/+12
* | | | Using subselect for `delete_all` with `limit` or `offset`Ryuta Kamizono2017-12-194-6/+29
* | | | Using subselect generated by the connection adapter for `update_all` with `of...Ryuta Kamizono2017-12-192-8/+17
* | | | Merge pull request #31475 from shioyama/reset_column_information_redefine_chi...Matthew Draper2017-12-193-4/+14
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add changelog entry for e1ceb10Chris Salzberg2017-12-171-0/+5
| * | | Undefine attribute methods on all descendants when resetting column infoChris Salzberg2017-12-171-1/+1
| * | | Add failing testChris Salzberg2017-12-171-3/+8
| |/ /
* | | Fix `test_counter_cache_with_touch_and_lock_version` failureRyuta Kamizono2017-12-181-2/+2
* | | Using table name qualified column names unless having SELECT list explicitlyRyuta Kamizono2017-12-182-5/+9
|/ /
* | Merge pull request #31473 from shioyama/fix_instantiate_test_attributesRyuta Kamizono2017-12-161-4/+7
|\ \
| * | Modify test to correctly pass attributes hashChris Salzberg2017-12-151-4/+7
* | | Remove needless `change_table`Ryuta Kamizono2017-12-151-6/+2
* | | [ci skip] Inherit ActiveRecord::Base in example codesYoshiyuki Hirano2017-12-151-2/+2
* | | Clear dirty `schema_cache` after `dump_schema_cache`Ryuta Kamizono2017-12-151-0/+1
* | | Suppress expected exceptions by `report_on_exception` = `false`Yasuo Honda2017-12-141-0/+2
* | | Merge pull request #31289 from witlessbird/fips-compatibilityEileen M. Uchitelle2017-12-142-5/+5
|\ \ \
| * | | Introduced `ActiveSupport::Digest` that allows to specify hash function imple...Dmitri Dolguikh2017-12-122-5/+5
* | | | Merge pull request #26815 from olivierlacan/log-query-sourceEileen M. Uchitelle2017-12-144-3/+80
|\ \ \ \
| * | | | Log call site for all queriesOlivier Lacan2017-12-134-3/+80
* | | | | Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-147-15/+12
|/ / / /
* | | | Suppress `warning: BigDecimal.new is deprecated` in activerecordYasuo Honda2017-12-1313-24/+24
* | | | Suppress expected exceptions by `report_on_exception` = `false` in Ruby 2.5Yasuo Honda2017-12-132-0/+5
* | | | Fix inheritance object creation from relationRyuta Kamizono2017-12-133-12/+60
* | | | Merge pull request #31425 from chiastolite/optimize_foregin_keys_queryRyuta Kamizono2017-12-131-2/+3
|\ \ \ \
| * | | | Optimizing information_schema query for `foreign_keys`Hiroyuki Morita2017-12-131-2/+3
| | |/ / | |/| |
* / | | Convert protected_environments to an array of stringsbogdanvlviv2017-12-123-16/+47
|/ / /
* | | Make `sanitize_sql_` methods publicyuuji.yaginuma2017-12-135-152/+151
* | | Merge pull request #31405 from bogdanvlviv/fix-conflicts-counter_cache-with-t...Rafael França2017-12-126-8/+128
|\ \ \
| * | | Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-126-8/+128
| | |/ | |/|
* | | Merge pull request #31403 from Edouard-chin/fix-quoted-columnnameRafael França2017-12-122-1/+9
|\ \ \
| * | | Quote colum_names when building select:Edouard CHIN2017-12-112-1/+9
| |/ /