aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | | | | | | 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
* | | | | | | | | | Class level `update` and `destroy` checks all the records exist before making...Ryuta Kamizono2017-12-011-9/+4
* | | | | | | | | | Maintain raising `RecordNotFound` for class level `update` and` destroy`Ryuta Kamizono2017-12-011-4/+9
| |_|/ / / / / / / |/| | | | | | | |
* | | | | | | | | Add :nodoc: to `StatementPool` which is internal used [ci skip]Ryuta Kamizono2017-11-302-4/+2
|/ / / / / / / /
* | | | | | | | Merge pull request #31214 from chopraanmol1/bug_fix_has_one_inverse_owner_rel...Eileen M. Uchitelle2017-11-291-0/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Inverse instance should not be reloaded during autosave if called in validationAnmol Chopra2017-11-271-0/+3
* | | | | | | | | Merge pull request #31179 from kinnrot/scoping-reserved-namesRafael Mendonça França2017-11-282-0/+8
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Prevent scope named same as a ActiveRecord::Relation instance method.Chen Kinnrot2017-11-282-0/+8
* | | | | | | | | | Merge pull request #31254 from suginoy/update_doc_find_orderRafael França2017-11-281-3/+4
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Update docs `ActiveRecord::FinderMethods#find`suginoy2017-11-281-3/+4
| |/ / / / / / / / /
* / / / / / / / / / Preparing for 5.2.0.beta2 releaseRafael Mendonça França2017-11-281-1/+1
|/ / / / / / / / /
* | | | | | | | | Change how `AttributeSet::Builder` receives its defaultsSean Griffin2017-11-271-4/+4
* | | | | | | | | Drop mysql2 version less than 0.4.3 to guarantee fork safety (#31244)Ryuta Kamizono2017-11-281-1/+1
* | | | | | | | | Preparing for 5.2.0.beta1 releaseRafael Mendonça França2017-11-271-1/+1
* | | | | | | | | Add new error class `QueryCanceled` which will be raised when canceling state...Ryuta Kamizono2017-11-273-1/+8
* | | | | | | | | Rename `TransactionTimeout` to more descriptive `LockWaitTimeout` (#31223)Ryuta Kamizono2017-11-273-4/+4
* | | | | | | | | Revert "Merge pull request #31006 from rails/kamipo/ordinal_methods_should_re...eileencodes2017-11-261-1/+0
* | | | | | | | | Merge pull request #31221 from matthewd/flush-idle-connectionsMatthew Draper2017-11-264-17/+76
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Flush idle database connectionsMatthew Draper2017-11-264-17/+76
| |/ / / / / / / /
* | / / / / / / / Let rubygems handle our objection to mysql2 0.4.3Matthew Draper2017-11-261-2/+1
| |/ / / / / / / |/| | | | | | |