aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | Fix dirty tracking for `touch`Ryuta Kamizono2019-04-153-5/+29
* | | | | Merge pull request #35970 from yskkin/reversible_commentRyuta Kamizono2019-04-155-7/+55
|\ \ \ \ \
| * | | | | make change_column_comment and change_table_comment invertibleYoshiyuki Kinjo2019-04-155-7/+55
* | | | | | Refactor `sync_with_transaction_state`Ryuta Kamizono2019-04-151-8/+14
* | | | | | Remove useless `update_attributes_from_transaction_state` and `set_transactio...Ryuta Kamizono2019-04-141-14/+3
* | | | | | Don't expose `add_to_transaction`Ryuta Kamizono2019-04-142-14/+8
|/ / / / /
* | | | | Merge pull request #35958 from yskkin/bulk_change_tableRyuta Kamizono2019-04-143-41/+26
|\ \ \ \ \
| * | | | | use PostgreSQL's bulk_alter_table implementationYoshiyuki Kinjo2019-04-133-41/+26
* | | | | | Improve wording of commentsChris Salzberg2019-04-133-3/+3
|/ / / / /
* | | | | Merge pull request #35918 from kamipo/lazy_sync_with_transaction_state_on_des...Ryuta Kamizono2019-04-122-2/+2
|\ \ \ \ \
| * | | | | Lazy sync with transaction state on destroyRyuta Kamizono2019-04-102-2/+2
* | | | | | Merge pull request #35920 from kamipo/dont_call_commit_callbacks_for_invalid_...Ryuta Kamizono2019-04-121-1/+11
|\ \ \ \ \ \
| * | | | | | Don't call after_commit callbacks despite a record isn't savedRyuta Kamizono2019-04-121-1/+11
| |/ / / / /
* | | | | | Merge pull request #28830 from kamipo/dont_regard_extension_block_as_scopeRyuta Kamizono2019-04-122-30/+10
|\ \ \ \ \ \
| * | | | | | Fix `automatic_inverse_of` not to be disabled if extension block is givenRyuta Kamizono2019-04-122-30/+10
* | | | | | | Refactor around sql_type metadata and columnRyuta Kamizono2019-04-124-33/+35
|/ / / / / /
* | | | | | Merge pull request #35921 from Shopify/deduplicate-activerecord-stringsRafael França2019-04-111-2/+2
|\ \ \ \ \ \
| * | | | | | Deduplicate Active Record reflection namesJean Boussier2019-04-101-2/+2
* | | | | | | Merge pull request #35922 from michaelglass/move-sqlite-3-database-statements...Rafael França2019-04-112-80/+80
|\ \ \ \ \ \ \
| * | | | | | | moves sqlite3 methods that mirror Abstract::DatabaseStatements into Sqlite3::...Michael Glass2019-04-102-80/+80
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #35933 from kamipo/refactor_dirty_trackingRyuta Kamizono2019-04-121-8/+6
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | PERF: 2x ~ 30x faster dirty trackingRyuta Kamizono2019-04-111-8/+6
* | | | | | | adjust styletakakuda2019-04-111-17/+17
|/ / / / / /
* / / / / / Adding type option example to the documentation [ci skip] (#35917)Roberto Miranda2019-04-101-0/+1
|/ / / / /
* | | | | Merge pull request #28155 from lcreid/belongs_toRyuta Kamizono2019-04-101-2/+6
|\ \ \ \ \
| * | | | | Fix circular `autosave: true`Larry Reid2018-07-231-2/+6
* | | | | | Accidentally lost `comment` in `Column#==` and `Column#hash`Ryuta Kamizono2019-04-101-2/+4
* | | | | | Remove unused `sequence_name` in `sql_for_insert`Ryuta Kamizono2019-04-102-3/+3
* | | | | | There is no need to create `QueryAttribute` to just type cast a valueRyuta Kamizono2019-04-102-4/+2
* | | | | | Merge pull request #35875 from Shopify/alloc-free-comparisonsRafael França2019-04-094-32/+38
|\ \ \ \ \ \
| * | | | | | Improve == and hash methods on various schema cache structs to be allocation ...Jean Boussier2019-04-094-32/+38
* | | | | | | Clarify exists check in logsDan Fitch2019-04-091-1/+1
* | | | | | | Merge pull request #35909 from simi/alias-postgresql-adapterRyuta Kamizono2019-04-101-0/+1
|\ \ \ \ \ \ \
| * | | | | | | Bring back postgresql_version as an alias.Josef Šimánek2019-04-091-0/+1
| |/ / / / / /
* | | | | | | Remove duplicated attribute alias resolution in `_select!`Ryuta Kamizono2019-04-091-6/+3
* | | | | | | `get_database_version` is not public API [ci skip]Ryuta Kamizono2019-04-091-1/+1
|/ / / / / /
* | | | | | Fix upsert method commentRyo Hashimoto2019-04-091-1/+1
* | | | | | Merge pull request #34800 from mqchau/mysqlCountDeleteRowInLockMatthew Draper2019-04-091-1/+3
|\ \ \ \ \ \
| * | | | | | Wrap Mysql count of deleted rows in lock block to avoid conflict in testQuan Chau2019-04-081-1/+3
* | | | | | | Merge pull request #35887 from kamipo/argument_errorRyuta Kamizono2019-04-093-6/+6
|\ \ \ \ \ \ \
| * | | | | | | Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-073-6/+6
* | | | | | | | Merge pull request #35890 from kamipo/except_table_name_from_columnRyuta Kamizono2019-04-097-49/+48
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | Except `table_name` from column objectsRyuta Kamizono2019-04-087-49/+48
* | | | | | | | Merge pull request #35892 from ryohashimoto/bulk_insert_logsEileen M. Uchitelle2019-04-081-1/+4
|\ \ \ \ \ \ \ \
| * | | | | | | | Improve log messages for #insert_all` / `#upsert_all` / `#insert` / `#upsert ...Ryo Hashimoto2019-04-081-1/+4
| | |/ / / / / / | |/| | | | | |
* | | | | | | | When skipping duplicates in bulk insert on MySQL, avoid assigning id when not...Bob Lail2019-04-082-4/+4
| |/ / / / / / |/| | | | | |
* | | | | | | Fix GROUP BY with calculate longer name field to respect `table_alias_length`Ryuta Kamizono2019-04-084-11/+18
|/ / / / / /
* | | | | | Don't repeat same expression in SELECT and GROUP BY clausesRyuta Kamizono2019-04-061-26/+20
* | | | | | There is no need to check `null_relation?` in `empty_scope?`Ryuta Kamizono2019-04-061-1/+1
* | | | | | Association loading isn't to be affected by null relation scopingRyuta Kamizono2019-04-062-3/+7