aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Minor documentation fixes related to bulk insert [skip ci]Vishal Telangre2019-03-091-10/+13
* Merge pull request #35512 from kamipo/delegate_onlyRyuta Kamizono2019-03-071-1/+1
|\
| * Delegate `only` query method to relation as with `except`Ryuta Kamizono2019-03-071-1/+1
* | Merge pull request #35503 from samjohn/cannot-grammar-correctionXavier Noria2019-03-074-4/+4
|\ \ | |/ |/|
| * Replace “can not” with “cannot”.Samantha John2019-03-064-4/+4
* | Refactor AR::Querying to extract `QUERYING_METHODS` listRyuta Kamizono2019-03-071-13/+17
* | Fix incorrect identifier quoting [ci skip]Ryuta Kamizono2019-03-071-2/+2
* | Move all Arel constructions from uniqueness validator into connection adapterRyuta Kamizono2019-03-073-7/+6
* | [ci skip]Fix typo: constaint -> constraintwillnet2019-03-071-2/+2
|/
* Merge pull request #35497 from eileencodes/parse-yaml-without-erb-for-rake-tasksEileen M. Uchitelle2019-03-061-1/+1
|\
| * Load YAML for rake tasks without parsing ERBeileencodes2019-03-061-1/+1
* | Add some whitespace for readability.Kasper Timm Hansen2019-03-061-0/+2
* | Handle blank inserts like update_all; raise upfront.Kasper Timm Hansen2019-03-061-6/+4
* | Allow `remove_foreign_key` with both `to_table` and `options`Ryuta Kamizono2019-03-066-33/+20
* | [ci skip] Fix typo beacuse -> becauseAbhay Nikam2019-03-061-1/+1
* | Ensure `clear_cache!` clears the prepared statements cacheRyuta Kamizono2019-03-064-26/+21
* | Add insert_all to ActiveRecord models (#35077)Bob Lail2019-03-057-11/+457
|/
* Allow `truncate` for SQLite3 adapter and add `rails db:seed:replant` (#34779)Bogdan2019-03-046-0/+64
* Deprecate mismatched collation comparison for uniquness validatorRyuta Kamizono2019-03-043-2/+16
* Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-031-1/+2
* Merge pull request #35441 from kamipo/allow_from_with_index_hintRyuta Kamizono2019-03-011-2/+5
|\
| * Relax table name detection in `from` to allow any extension like INDEX hintRyuta Kamizono2019-03-011-2/+5
* | Merge pull request #35431 from kamipo/enable_sql_cache_on_findRyuta Kamizono2019-03-011-1/+1
|\ \ | |/ |/|
| * Enable SQL statement cache for `find` on base class as with `find_by`Ryuta Kamizono2019-03-011-1/+1
* | Merge pull request #33611 from willianveiga/feature/reselect-methodAndrew White2019-03-011-0/+21
|\ \ | |/ |/|
| * Avoid creating an extra relation instanceWillian Gustavo Veiga2018-10-241-2/+9
| * Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-224-19/+15
| |\
| * \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-1714-118/+82
| |\ \
| * \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-1129-692/+944
| |\ \ \
| * \ \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-02105-714/+1276
| |\ \ \ \
| * | | | | Add reselect methodWillian Gustavo Veiga2018-08-131-0/+14
* | | | | | [ci skip] The `find` method coerces the given arguments to integer if the `pr...Mehmet Emin INAC2019-02-281-1/+1
* | | | | | [ci skip] Fix the documentation of ActiveRecord::FinderMethods#findMehmet Emin INAC2019-02-281-2/+2
* | | | | | Refactor `generated_relation_methods` to remove duplicated code on `ClassSpec...Ryuta Kamizono2019-02-281-31/+20
* | | | | | Allow returning nil for `default_scope`Ryuta Kamizono2019-02-281-5/+4
* | | | | | Fix preload with nested associationsRafael Mendonça França2019-02-261-1/+5
* | | | | | Add negative scopes for all enum values (#35381)David Heinemeier Hansson2019-02-261-0/+6
* | | | | | Don't cache `find_by` statements on STI subclassesRyuta Kamizono2019-02-271-1/+2
* | | | | | fixes different `count` calculation when using `size` manual `select` with DI...jvillarejo2019-02-261-3/+8
* | | | | | Preparing for 6.0.0.beta2 releaseRafael Mendonça França2019-02-251-1/+1
* | | | | | Merge pull request #35402 from alimi/update-ar-read-regexAaron Patterson2019-02-251-1/+1
|\ \ \ \ \ \
| * | | | | | Update READ_QUERY regexAli Ibrahim2019-02-251-1/+1
* | | | | | | Refactor `type_to_sql` to handle converting `limit` to `size` in itselfRyuta Kamizono2019-02-264-67/+60
* | | | | | | Fix prepared statements caching to be enabled even when query caching is enabledRyuta Kamizono2019-02-263-13/+20
|/ / / / / /
* | | | | | Merge pull request #35352 from kamipo/update_all_doesnt_care_optimistic_lockingRyuta Kamizono2019-02-251-10/+15
|\ \ \ \ \ \
| * | | | | | Ensure `update_all` series cares about optimistic lockingRyuta Kamizono2019-02-251-10/+15
* | | | | | | minor grammar fix [ci skip]Shivam Jain2019-02-241-1/+1
* | | | | | | Fix `pluck` and `select` with `from` if `from` has original table nameRyuta Kamizono2019-02-221-1/+3
* | | | | | | Should not pass extra args to `_update_record`Ryuta Kamizono2019-02-213-7/+13
|/ / / / / /
* | | | | | Address "warning: in `column': the last argument was passed as a single Hash"Ryuta Kamizono2019-02-212-4/+4