aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Make `sql_type` of primary key in SQLite to comparable with an integer (#28008)Ryuta Kamizono2017-12-261-1/+1
* Fix `add_column` with :primary_key type compatibility for SQLitefatkodima2017-12-251-1/+1
* save attributes changed by callbacks after update_attributeMike Busch2017-12-221-5/+1
* 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-202-4/+1
* 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-201-2/+1
* Merge pull request #31177 from albertoalmagro/remove-default-mysql-engine-fro...Matthew Draper2017-12-202-1/+9
|\
| * Remove default ENGINE=InnoDB for Mysql2 adapterAlberto Almagro2017-12-112-1/+9
* | Fix `count(:all)` to correctly work `distinct` with custom SELECT listRyuta Kamizono2017-12-201-10/+8
* | Quote primary key in the subselect generated by mysql2 adapterRyuta Kamizono2017-12-191-1/+2
* | Using subselect for `delete_all` with `limit` or `offset`Ryuta Kamizono2017-12-191-4/+4
* | Using subselect generated by the connection adapter for `update_all` with `of...Ryuta Kamizono2017-12-191-1/+1
* | Merge pull request #31475 from shioyama/reset_column_information_redefine_chi...Matthew Draper2017-12-191-1/+1
|\ \
| * | Undefine attribute methods on all descendants when resetting column infoChris Salzberg2017-12-171-1/+1
* | | Using table name qualified column names unless having SELECT list explicitlyRyuta Kamizono2017-12-181-2/+2
|/ /
* | [ci skip] Inherit ActiveRecord::Base in example codesYoshiyuki Hirano2017-12-151-2/+2
* | Merge pull request #31289 from witlessbird/fips-compatibilityEileen M. Uchitelle2017-12-141-1/+1
|\ \
| * | Introduced `ActiveSupport::Digest` that allows to specify hash function imple...Dmitri Dolguikh2017-12-121-1/+1
* | | Log call site for all queriesOlivier Lacan2017-12-132-0/+49
* | | Suppress `warning: BigDecimal.new is deprecated` in activerecordYasuo Honda2017-12-132-2/+2
* | | Fix inheritance object creation from relationRyuta Kamizono2017-12-132-12/+21
* | | 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-121-14/+16
|/ / /
* | | Make `sanitize_sql_` methods publicyuuji.yaginuma2017-12-134-128/+127
* | | Merge pull request #31405 from bogdanvlviv/fix-conflicts-counter_cache-with-t...Rafael França2017-12-122-5/+9
|\ \ \
| * | | Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-122-5/+9
| | |/ | |/|
* | | Merge pull request #31403 from Edouard-chin/fix-quoted-columnnameRafael França2017-12-121-1/+1
|\ \ \
| * | | Quote colum_names when building select:Edouard CHIN2017-12-111-1/+1
| |/ /
* / / Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-2/+2
|/ /
* | SQLite: Fix `copy_table` with composite primary keysRyuta Kamizono2017-12-081-4/+6
* | Fix `scope_for_create` to do not lose polymorphic associationsRyuta Kamizono2017-12-081-2/+16
* | Merge pull request #31327 from aellispierce/custom-id-change-table-sqliteEileen M. Uchitelle2017-12-071-1/+5
|\ \
| * | Fix sqlite migrations with custom primary keysAshley Ellis Pierce2017-12-061-1/+5
* | | `current_version` should catch `NoDatabaseError` from `get_all_versions`Ryuta Kamizono2017-12-041-12/+5
* | | Merge pull request #31311 from y-yagi/ignore_no_database_error_when_loading_s...Kasper Timm Hansen2017-12-032-3/+14
|\ \ \
| * | | Make `Migrator.current_version` work without a current databaseyuuji.yaginuma2017-12-032-3/+14
* | | | SQLite3 valid integer value should be 8 bytes (64-bit signed integer) (#28379)Ryuta Kamizono2017-12-031-0/+15
* | | | Emulate JSON types for SQLite3 adapter (#29664)Ryuta Kamizono2017-12-034-9/+7
* | | | `change_column_default` should be executed after type changingRyuta Kamizono2017-12-032-14/+18
|/ / /
* | | Extract duplicated index column options normalization as `options_for_index_c...Ryuta Kamizono2017-12-035-46/+34
* | | Refactor `length`, `order`, and `opclass` index options dumpingRyuta Kamizono2017-12-036-27/+41
* | | Merge pull request #31230 from dinahshi/postgresql_extract_sqlMatthew Draper2017-12-034-59/+88
|\ \ \
| * | | Extract sql fragment generators for alter table from PostgreSQL adapterDinah Shi2017-12-024-59/+88
* | | | Fix method name in `validate_constraint` doc [ci skip]yuuji.yaginuma2017-12-021-1/+1
* | | | Add support for invalid foreign keys in PostgresTravis Hunter2017-12-017-1/+84
| |/ / |/| |
* | | Remove unpaired `}` [ci skip]Ryuta Kamizono2017-12-011-2/+1
* | | Merge pull request #19090 from gregnavis/support-postgresql-operator-classes-...Matthew Draper2017-12-015-15/+67
|\ \ \
| * | | Add support for PostgreSQL operator classes to add_indexGreg Navis2017-11-305-15/+67