aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* push order arg checks down to allow for bindsBen Toews2017-11-092-28/+11
* deal with Array arguments to #orderBen Toews2017-11-092-1/+19
* convert order arg to string before checking if we can reverse itBen Toews2017-11-091-0/+4
* use << instead of #concat in #reverse_sql_order because we might be working w...Ben Toews2017-11-091-1/+1
* try using regexesBen Toews2017-11-093-60/+21
* allow table name and direction in string order argBen Toews2017-11-092-25/+32
* always allow Arel::Attributes::Attribute alsoBen Toews2017-11-091-1/+3
* call enforce_raw_sql_whitelist on @klass so it works with FakeKlassBen Toews2017-11-091-2/+2
* work with actual string when reversing orderBen Toews2017-11-091-0/+3
* remove :enabled optionBen Toews2017-11-092-5/+2
* beef up deprecation warningBen Toews2017-11-091-3/+7
* allow Arel.sql() for pluckBen Toews2017-11-095-68/+90
* add config to check arguments to unsafe AR methodsBen Toews2017-11-095-21/+116
* Don't expose accessors which are internal used onlyRyuta Kamizono2017-11-082-3/+6
* Don't expose internal methods in `Preloader::ThroughAssociation`Ryuta Kamizono2017-11-081-8/+7
* Merge pull request #30714 from bogdanvlviv/fix-rails_db_migrate_VERSIONRafael França2017-11-063-8/+28
|\
| * Fix `bin/rails db:migrate` with specified `VERSION`bogdanvlviv2017-11-063-8/+28
* | Remove useless `associated_records_by_owner`Ryuta Kamizono2017-11-072-16/+10
|/
* Merge pull request #28360 from kbrock/transaction_fixMatthew Draper2017-11-071-1/+1
|\
| * Properly check transaction in persistenceKeenan Brock2017-11-061-1/+1
* | Refactor Preloader CodeBogdan Gusiev2017-11-063-81/+40
|/
* `scoping` should respect current class and STI constraint (#29199)Ryuta Kamizono2017-11-061-1/+7
* Fix preloading polymorphic multi-level through associationRyuta Kamizono2017-11-061-1/+7
* Fix preloading polymorphic association when through association has already l...Ryuta Kamizono2017-11-061-4/+16
* Ensure `apply_join_dependency` for `update_all` and `delete_all` if eager-loa...Ryuta Kamizono2017-11-061-0/+10
* Ensure `apply_join_dependency` for `collection_cache_key` if eager-loading is...Ryuta Kamizono2017-11-063-3/+6
* Remove unused classesyuuji.yaginuma2017-11-031-30/+0
* Merge pull request #31004 from shuheiktgw/remove_unnecessary_returnsRafael França2017-10-312-2/+2
|\
| * removed unnecessary returnsShuhei Kitagawa2017-10-282-2/+2
* | `source_type_scope` should respect correct table aliasRyuta Kamizono2017-10-301-7/+3
* | `PolymorphicReflection#scopes` is no longer used since a5651eb5Ryuta Kamizono2017-10-301-5/+0
* | [ci skip]Update the documentation about the primary key typesuginoy2017-10-293-19/+19
* | Merge pull request #31005 from shuheiktgw/remove_unnecessary_semicolonsMatthew Draper2017-10-281-1/+1
|/
* Merge pull request #30682 from ahorek/fix_scope_forRyuta Kamizono2017-10-271-1/+1
|\
| * delegate scope forpavel2017-10-271-1/+1
* | fix initial countpavel2017-10-271-1/+1
|/
* remove incorrect statement about serializable transactionsJoe Van Dyk2017-10-251-3/+1
* Merge pull request #30984 from yahonda/schema_dumper_pgRyuta Kamizono2017-10-262-9/+13
|\
| * Implement `PostgreSQL::SchemaDumper#extensions`Yasuo Honda2017-10-252-9/+13
* | Merge pull request #30970 from rohitpaulk/fix-sqlite-3-index-order-dumpRafael França2017-10-251-1/+11
|\ \ | |/ |/|
| * Avoid using index_xinfo, only available in sqlite >= 3.8.9Paul Kuruvilla2017-10-251-9/+12
| * Save index order :desc to schema.rb (sqlite). Fixes #30902Paul Kuruvilla2017-10-241-2/+9
* | `supports_extensions?` return always true since PostgreSQL 9.1Yasuo Honda2017-10-241-9/+3
|/
* Ensure associations doesn't table name collide with aliased joinsRyuta Kamizono2017-10-241-1/+1
* Remove `supports_disable_referential_integrity?`Yasuo Honda2017-10-231-25/+17
* Remove text about deprecation that was already removedRafael Mendonça França2017-10-231-2/+1
* Remove deprecated `:if` and `:unless` string filter for callbacksRafael Mendonça França2017-10-232-3/+3
* Remove deprecated method `#sanitize_conditions`Rafael Mendonça França2017-10-231-2/+0
* Remove deprecated methd `#scope_chain`Rafael Mendonça França2017-10-231-6/+0
* Remove deprecated configuration `.error_on_ignored_order_or_limit`Rafael Mendonça França2017-10-231-20/+0