aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Enable `Lint/UselessAssignment` cop to avoid unused variable warnings (#34904)Ryuta Kamizono2019-01-095-8/+7
* Consolidate the duplicated code that building range predicateRyuta Kamizono2019-01-085-36/+21
* :recycle: Fix mysql type map for enum and setbannzai2019-01-081-2/+2
* Merge pull request #34773 from eileencodes/share-fixture-connections-with-mul...Eileen M. Uchitelle2019-01-041-0/+23
|\
| * Share the connection pool when there are multiple handlersEileen Uchitelle2019-01-031-0/+23
* | Merge pull request #34858 from albertoalmagro/make-rails-compatible-accross-r...Ryuta Kamizono2019-01-041-1/+1
|\ \
| * | Make average compatible accross Ruby versionsAlberto Almagro2019-01-041-1/+1
* | | Merge the redundant `when Symbol` case to the `when String, ...`Ryuta Kamizono2019-01-041-2/+1
* | | 2x faster `connection.type_cast`Ryuta Kamizono2019-01-041-6/+1
|/ /
* | Merge pull request #33985 from eugeneius/attribute_methods_schema_cacheKasper Timm Hansen2019-01-035-1/+30
|\ \
| * | Only define attribute methods from schema cacheEugene Kenny2018-09-285-1/+30
* | | Merge pull request #34836 from kamipo/class_level_update_without_idsRyuta Kamizono2019-01-021-1/+3
|\ \ \ | |_|/ |/| |
| * | Restore an ability that class level `update` without giving idsRyuta Kamizono2019-01-021-1/+3
* | | MariaDB: Remove version checking lower the 5.5.8Ryuta Kamizono2019-01-021-10/+2
* | | Add test case for `preventing_writes?`Ryuta Kamizono2019-01-021-1/+1
* | | Bring ActiveRecord::Core's API document back [ci skip]yuuji.yaginuma2019-01-021-3/+1
|/ /
* | Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into Str...Ryuta Kamizono2019-01-021-1/+1
* | Bump license years for 2019Arun Agrawal2018-12-311-1/+1
* | Use high level API on `migration_context` instead of using low level API dire...Ryuta Kamizono2018-12-282-13/+11
* | Deprecate passing `migrations_paths` to `connection.assume_migrated_upto_vers...Ryuta Kamizono2018-12-282-12/+9
* | Merge pull request #34806 from bogdan/reuse-find-targetRyuta Kamizono2018-12-274-30/+20
|\ \
| * | Reuse AR::Association#find_target methodBogdan Gusiev2018-12-274-29/+21
* | | Merge pull request #34753 from eileencodes/raise-less-confusing-error-if-hand...Eileen M. Uchitelle2018-12-211-0/+4
|\ \ \
| * | | Raise helpful error when role doesn't existEileen Uchitelle2018-12-211-0/+4
* | | | Merge pull request #34742 from kamipo/row_format_dynamic_by_defaultRyuta Kamizono2018-12-211-0/+18
|\ \ \ \
| * | | | MySQL: `ROW_FORMAT=DYNAMIC` create table option by defaultRyuta Kamizono2018-12-191-0/+18
| |/ / /
* | | | Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-216-63/+49
* | | | Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-213-4/+4
* | | | Merge pull request #30973 from k0kubun/prefer-block-parameterRyuta Kamizono2018-12-201-10/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Unify _read_attribute definition to use &blockTakashi Kokubun2018-12-201-10/+2
* | | | Use `utf8mb4` charset for internal tables if the row format `DYNAMIC` by defaultRyuta Kamizono2018-12-192-10/+10
* | | | Ensure that preventing writes is invoked before `materialize_transactions` co...Ryuta Kamizono2018-12-121-4/+2
* | | | Add AR::Base.connected_to?John Hawthorn2018-12-111-0/+23
* | | | An empty transaction does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-113-3/+3
* | | | Merge pull request #34666 from vinistock/upgrade_rubocop_and_fix_offensesRafael França2018-12-102-36/+36
|\ \ \ \
| * | | | Upgrade Rubocop to 0.61.1 and fix offensesVinicius Stock2018-12-102-36/+36
* | | | | An explain query does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-113-3/+3
* | | | | Don't treat begin and rollback transactions as write queriesRyuta Kamizono2018-12-113-3/+3
|/ / / /
* | | | Prevent write queries with prepared statements for mysql2 adapterRyuta Kamizono2018-12-111-0/+4
* | | | Prevent write queries for `exec_query`Ryuta Kamizono2018-12-112-1/+9
* | | | Merge pull request #34632 from rails/rename-write-on-read-errorEileen M. Uchitelle2018-12-074-3/+7
|\ \ \ \
| * | | | Rename error that occurs when writing on a readEileen Uchitelle2018-12-074-3/+7
* | | | | #create_or_find_by/!: add more tests and fix docs (#34653)Bogdan2018-12-081-2/+2
|/ / / /
* | | | Fix join table column quoting with SQLite.Gannon McGibbon2018-12-051-0/+4
* | | | option to disable scopes that `ActiveRecord.enum` generates by defaultAlfred Dominic2018-12-041-2/+5
* | | | Merge pull request #34609 from kamipo/delete_all_on_collection_proxyRyuta Kamizono2018-12-042-0/+3
|\ \ \ \
| * | | | Ensure that `delete_all` on collection proxy returns affected countRyuta Kamizono2018-12-042-0/+3
* | | | | Reset scope after collection deleteGannon McGibbon2018-12-041-4/+4
|/ / / /
* | | | Merge pull request #34602 from guizmaii/masterRafael França2018-12-031-1/+2
|\ \ \ \
| * | | | Pass the `connection` to the `@instrumenter.instrument` method calljules Ivanic2018-12-031-1/+2