aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Add #create_or_find_by to lean on unique constraints (#31989)David Heinemeier Hansson2018-02-142-13/+43
* Rdoc formatting fix: <b> instead of MD-style asterisksT.J. Schuck2018-02-141-1/+1
* Merge pull request #31133 from mohsen-alizadeh/sanitize_empty_and_nil_paramet...Matthew Draper2018-02-111-0/+1
|\
| * sanitize empty and nil parameters to selectMohsen Alizadeh2017-11-121-0/+1
* | Fix formatting of `pick` [ci skip]yuuji.yaginuma2018-02-101-1/+1
* | Add Relation#pick as short-hand for single-value plucks (#31941)David Heinemeier Hansson2018-02-091-0/+18
* | Fix marshaling of models with `has_many :through` associationsfatkodima2018-02-081-2/+2
* | Revert "✂️"Ryuta Kamizono2018-02-071-1/+2
* | ✂️schneems2018-02-061-2/+1
* | Invoke `load_schema` in `_default_attributes`Ryuta Kamizono2018-02-061-0/+1
* | Don't output information on drop if not verboseeileencodes2018-02-051-1/+1
* | Add ability to turn off verbose for database taskseileencodes2018-02-051-3/+7
* | Prefer `@connection.abandon_results!` than `@connection.next_result while @co...Ryuta Kamizono2018-02-041-1/+1
* | Add nodoc to `migrations_paths` and `migration_context` in `AbstractAdapter`Ryuta Kamizono2018-02-041-2/+2
* | Fix `Unknown migration version "6.0"`Yuji Yaginuma2018-01-311-1/+4
* | Start Rails 6.0 development!!!Rafael Mendonça França2018-01-301-3/+3
* | Remove unused `require "active_record/tasks/database_tasks"`Ryuta Kamizono2018-01-301-1/+0
* | Merge pull request #31814 from fatkodima/index-nulls-orderRafael França2018-01-291-2/+6
|\ \
| * | Dump correctly index nulls order for postgresqlfatkodima2018-01-281-2/+6
* | | Merge pull request #31821 from composerinteralia/extra-to_sGeorge Claghorn2018-01-298-9/+9
|\ \ \
| * | | Avoid extra calls to to_sDaniel Colson2018-01-298-9/+9
* | | | Deprecate `expand_hash_conditions_for_aggregates`Ryuta Kamizono2018-01-291-0/+1
|/ / /
* | | Fix the example of 'finding records by a value object' (#31818)Bogdan2018-01-291-2/+2
* | | Extract `discard_remaining_results` for mysql2 adapterRyuta Kamizono2018-01-292-4/+6
* | | Revert "Merge pull request #23256 from pauloancheta/master"Ryuta Kamizono2018-01-291-1/+1
* | | Remove unused/missing `to_money` converter in the test/docRyuta Kamizono2018-01-291-2/+1
* | | Merge pull request #31615 from cben/type_for_attribute-symbolRyuta Kamizono2018-01-291-1/+2
|\ \ \
| * | | Allow type_for_attribute(:symbol)Beni Cherniavsky-Paskin2018-01-011-1/+2
* | | | Fix expanding an array of `composed_of` objects which have multiple mappingsRyuta Kamizono2018-01-293-1/+20
* | | | Merge pull request #31724 from orekyuu/fix-expand-composed-object-arrayRyuta Kamizono2018-01-291-3/+5
|\ \ \ \
| * | | | Allow expanding an array of `composed_of` objectsRyuta Kamizono2018-01-291-6/+4
| * | | | Fix not expanded problem when passing an Array object as argument to the wher...orekyuu2018-01-261-3/+7
* | | | | Define `supports_foreign_tables?` in AbstractAdapterYasuo Honda2018-01-281-0/+5
| |_|/ / |/| | |
* | | | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-3/+3
* | | | Bring back ability to insert zero value on primary key for fixtures (#31795)Ryuta Kamizono2018-01-263-22/+8
|/ / /
* | | Update note on MySQL index order support [ci skip]Eugene Kenny2018-01-261-1/+1
* | | Add test case for deprecated `insert_fixtures`Ryuta Kamizono2018-01-261-3/+5
* | | Remove internal `typecasted_attribute_value` methodRyuta Kamizono2018-01-251-5/+1
* | | Fix `count(:all)` with eager loading and having an order other than the drivi...Ryuta Kamizono2018-01-251-1/+8
* | | Clear the transaction state when AR object is dupedYuriy Ustushenko2018-01-251-2/+4
* | | Merge pull request #31784 from composerinteralia/relation-signatureRafael França2018-01-248-9/+17
|\ \ \
| * | | Avoid passing unnecessary arguments to relationDaniel Colson2018-01-248-9/+17
* | | | Merge pull request #31690 from olivierlacan/no-verbose-query-logs-in-consoleRafael França2018-01-241-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Disable verbose_query_logs in Rails ConsoleOlivier Lacan2018-01-231-0/+1
* | | | Make discard safe when it follows a manual disconnectMatthew Draper2018-01-251-1/+1
* | | | Merge pull request #31773 from dinahshi/postgresql_bulk_patchMatthew Draper2018-01-241-1/+1
|\ \ \ \
| * | | | Use concat to join procs arrays in bulk_change_tableDinah Shi2018-01-231-1/+1
* | | | | Merge pull request #31422 from Edouard-chin/multistatement-fixturesMatthew Draper2018-01-244-55/+139
|\ \ \ \ \
| * | | | | Allow a 2 bytes margin:Edouard CHIN2018-01-231-1/+2
| * | | | | Combine delete and insert statements in the same queryEdouard CHIN2018-01-222-13/+10