aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Deprecate `t.indexes = [...]` which is not by designRyuta Kamizono2018-11-091-2/+5
* Refactor to initialize `TableDefinition` by kwargsRyuta Kamizono2018-11-092-4/+14
* PostgreSQL: Properly quote all `Infinity` and `NaN`Ryuta Kamizono2018-11-091-4/+4
* Add an :if_not_exists option to create_tablefatkodima2018-11-083-4/+10
* Guard Enums against definitions with blank label namesChristophe Maximin2018-11-071-0/+4
* Add multi-db support to schema cache dump and clearGannon McGibbon2018-11-072-5/+22
* Always add records to parent of nested transactionEugene Kenny2018-11-071-1/+1
* Fix inspect with non-primary key id attributeEugene Kenny2018-11-062-3/+3
* Move `resolve_sti_reflections` which is table row related code into `TableRow`Ryuta Kamizono2018-11-032-89/+78
* Don't pass useless `table_name` to `ModelMetadata.new`Ryuta Kamizono2018-11-033-13/+4
* Don't pass unused `connection` to `FixtureSet.new`Ryuta Kamizono2018-11-031-5/+2
* Checking boundable not only `IN` clause but also `NOT IN` clauseRyuta Kamizono2018-11-031-8/+4
* Updating sample code on ActiveRecord#before_destroy callback [ci skip]Espartaco Palma2018-10-311-1/+1
* Fix "warning: shadowing outer local variable - role"Ryuta Kamizono2018-10-311-9/+13
* Merge pull request #34353 from gmcgibbon/fix_lock_docs_locking_clauseRafael França2018-10-301-3/+3
|\
| * Fix example for database-specific locking clauseGannon McGibbon2018-10-301-3/+3
* | Fix failing testSean Griffin2018-10-301-0/+1
|/
* `update_columns` raises if the column is unknownSean Griffin2018-10-301-4/+4
* Merge pull request #19388 from yakara-ltd/fix-habtm-fixture-orderRyuta Kamizono2018-10-301-0/+3
|\
| * Avoid violating key constraints in fixture HABTM associationsJames Le Cuirot2018-10-291-0/+3
* | Merge pull request #34196 from gmcgibbon/connection_switch_string_nameEileen M. Uchitelle2018-10-301-6/+9
|\ \
| * | Add support for hash and url configs in connected_toGannon McGibbon2018-10-261-6/+9
* | | Document exception from restrict_with_exception [ci skip]Malcolm Locke2018-10-291-2/+2
| |/ |/|
* | Ignore empty condition on #construct_relation_for_existsr7kamura2018-10-271-1/+1
|/
* Merge pull request #34208 from yskkin/inspect_with_parameter_filterRyuta Kamizono2018-10-262-27/+33
|\
| * Implement AR#inspect using ParamterFilter.Yoshiyuki Kinjo2018-10-192-27/+33
* | Support default expression for MySQLRyuta Kamizono2018-10-251-4/+7
* | Support expression indexes for MySQLRyuta Kamizono2018-10-252-4/+34
* | Merge pull request #34303 from kamipo/lazy_checking_boundableRafael França2018-10-242-4/+12
|\ \
| * | Lazy checking whether or not values in IN clause are boundableRyuta Kamizono2018-10-242-4/+12
* | | Fix typo of duplicated `the` [ci skip]ohbarye2018-10-241-1/+1
* | | Hide PG::Connection from API docs [ci skip]Francesco Rodríguez2018-10-231-1/+1
* | | MySQL 8.0.13 raises `ER_NO_REFERENCED_ROW` and `ER_ROW_IS_REFERENCED`Yasuo Honda2018-10-231-1/+3
|/ /
* | Reduce string allocations in read/write_attributeEugene Kenny2018-10-212-8/+6
* | Don't expose internal `get_value`/`set_value` methodsRyuta Kamizono2018-10-182-11/+9
* | Merge pull request #34197 from schneems/schneems/symbol-hash-respond_toRichard Schneeman2018-10-173-12/+11
|\ \
| * | ActiveRecord#respond_to? No longer allocates stringsschneems2018-10-153-12/+11
| |/
* | Remove and flip `index: true` for `references` in the doc [ci skip]Ryuta Kamizono2018-10-172-8/+8
* | Consolidate duplicated code that initializing an empty model objectRyuta Kamizono2018-10-172-20/+8
* | Consistently extract checking version for all adaptersRyuta Kamizono2018-10-174-27/+29
* | Merge pull request #34227 from bkuhlmann/master-lazy_mysql_version_check_supportAaron Patterson2018-10-161-4/+11
|\ \
| * | Refactored abstract MySQL adapter to support lazy version check.Brooke Kuhlmann2018-10-161-4/+11
| |/
* / Fix Collection cache key with limit and custom select (PG:AmbigousColumn: Error)Federico Martinez2018-10-151-2/+2
|/
* Improve model attribute accessor method names for backtracesDylan Thacker-Smith2018-10-123-53/+21
* Basic API for connection switchingEileen Uchitelle2018-10-102-1/+99
* Merge pull request #34110 from albertoalmagro/enum-raises-on-invalid-definiti...Eileen M. Uchitelle2018-10-101-0/+11
|\
| * Privatize ENUM_CONFLICT_MESSAGE constantAlberto Almagro2018-10-101-0/+1
| * Raise on invalid definition valuesAlberto Almagro2018-10-101-0/+10
* | Merge pull request #34137 from gmcgibbon/db_migrate_status_multi_dbEileen M. Uchitelle2018-10-101-1/+15
|\ \ | |/ |/|
| * Add multi-db support to rails db:migrate:statusGannon McGibbon2018-10-091-1/+15