aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* 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
| * | | Build a multi-statement query when inserting fixtures:Edouard CHIN2018-01-224-55/+141
* | | | Merge pull request #31549 from fatkodima/foreign_tablesRyuta Kamizono2018-01-232-1/+15
|\ \ \ \
| * | | | Support for PostgreSQL foreign tablesfatkodima2018-01-222-1/+15
* | | | | Fix building has_one through recordRyuta Kamizono2018-01-233-14/+10
|/ / / /
* | | | Ignores a default subclass when `becomes(Parent)`Leonel Galan2018-01-221-1/+2
* | | | Merge pull request #24964 from vipulnsward/true-falseMatthew Draper2018-01-231-2/+2
|\ \ \ \
| * | | | Dont perform unnecessary check with false, just use true/false values for @ac...Vipul A M2016-05-111-2/+2
* | | | | Merge pull request #31710 from eugeneius/indestructible_through_recordRyuta Kamizono2018-01-221-1/+1
|\ \ \ \ \
| * | | | | Don't update counter cache when through record was not destroyedEugene Kenny2018-01-141-1/+1
* | | | | | PERF: Recover `changes_applied` performance (#31698)Ryuta Kamizono2018-01-222-5/+2
* | | | | | Merge pull request #31732 from koic/enable_autocorrect_for_lint_end_alignment...Matthew Draper2018-01-191-1/+1
|\ \ \ \ \ \
| * | | | | | Enable autocorrect for `Lint/EndAlignment` copKoichi ITO2018-01-181-1/+1
* | | | | | | Remove unused `connection` argument from `MigrationContext#current_version`Ryuta Kamizono2018-01-191-3/+3
* | | | | | | Remove unused `migration_context` in `DatabaseTasks`Ryuta Kamizono2018-01-191-4/+0
| |/ / / / / |/| | | | |
* | | | | | Use selected_migrations if block_given?oz2018-01-181-1/+1
* | | | | | Refactor migration to move migrations paths to connectioneileencodes2018-01-189-140/+168
|/ / / / /
* | | | | Fix relation merger issue with `left_outer_joins`Mehmet Emin INAC2018-01-152-1/+27
* | | | | Don't allow destroyed object mutation after `save` or `save!` is calledRyuta Kamizono2018-01-151-0/+1
* | | | | `create_database` should not add default charset when `collation` is givenRyuta Kamizono2018-01-151-1/+1
* | | | | Merge pull request #28313 from sandrew/masterRyuta Kamizono2018-01-151-2/+3
|\ \ \ \ \
| * | | | | Allow unscoping of left_outer_joinsAndrei Shaidurov2017-03-061-1/+1
* | | | | | Don't need to pass `manager` to `convert_join_strings_to_ast`Ryuta Kamizono2018-01-141-2/+2
* | | | | | Don't pass garbage args to alias trackerRyuta Kamizono2018-01-142-11/+4
| |_|_|_|/ |/| | | |
* | | | | Merge pull request #31671 from larskanis/pg-1.0Rafael Mendonça França2018-01-111-1/+1
|\ \ \ \ \
| * | | | | PostgreSQL: Allow pg-1.0 gem to be used with ActiveRecordLars Kanis2018-01-101-1/+1
* | | | | | Merge pull request #23146 from piotrj/issue_18424Ryuta Kamizono2018-01-111-0/+1
|\ \ \ \ \ \
| * | | | | | When deleting through records, take into account association conditionsPiotr Jakubowski2016-05-041-8/+9
* | | | | | | Remove the deprecated `:conditions` option in `INVALID_AUTOMATIC_INVERSE_OPTI...Ryuta Kamizono2018-01-111-1/+1
* | | | | | | Use `apply_join_dependency` instead of meaningless named `find_with_associati...Ryuta Kamizono2018-01-112-26/+13
* | | | | | | Make `relation.exists?` more performant when using eager loadingRyuta Kamizono2018-01-111-3/+4
| |/ / / / / |/| | | | |
* | | | | | [ci skip] setting :inverse_of works with :as, :through and :polymorphic optio...Bart de Water2018-01-101-12/+18
* | | | | | Fix `stale_state` for nested `has_many :through` associationsRyuta Kamizono2018-01-102-10/+13
* | | | | | Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-...Ryuta Kamizono2018-01-102-1/+9
|\ \ \ \ \ \
| * | | | | | Fix nested `has many :through` associations on unpersisted instancesZoltan Kiss2015-03-262-1/+5
* | | | | | | Bring back passing single record support for `Preloader`Ryuta Kamizono2018-01-101-1/+1
* | | | | | | resolve inconsistencies between first and to_a.first with limitBrian Christian2018-01-091-1/+5
* | | | | | | Fix deleting through records when using has_many through with `source_type`Ryuta Kamizono2018-01-081-8/+6
* | | | | | | Simply use `scope.delete_all` instead of constructing delete managerRyuta Kamizono2018-01-071-8/+1
* | | | | | | Make `find_nth_from_last` more performant when using reversible orderRyuta Kamizono2018-01-071-6/+5