aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-2/+0
* Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-1/+2
* Re-organize `init_internals`Ryuta Kamizono2019-04-241-5/+4
* Lazy allocate `@_start_transaction_state`Ryuta Kamizono2019-04-241-2/+2
* PERF: 20% faster pk attribute accessRyuta Kamizono2019-04-221-3/+3
* Remove never used `database_selector` class accessorRyuta Kamizono2019-04-221-1/+0
* Avoid method call if `@transaction_state` is not finalizedRyuta Kamizono2019-04-211-1/+1
* Fix dirty tracking after rollback.Ryuta Kamizono2019-04-161-6/+0
* Lazy sync with transaction state on destroyRyuta Kamizono2019-04-101-1/+2
* Enable SQL statement cache for `find` on base class as with `find_by`Ryuta Kamizono2019-03-011-1/+1
* Don't cache `find_by` statements on STI subclassesRyuta Kamizono2019-02-271-1/+2
* Improve performance of blank? and present? in an ActiveRecord::Base instanceRafael Mendonça França2019-02-041-0/+8
* Add ability to change the names of the default handlersEileen Uchitelle2019-02-011-1/+4
* Adds basic automatic database switching to RailsEileen Uchitelle2019-01-301-0/+1
* Ensure `StatementCache#execute` never raises `RangeError`Ryuta Kamizono2019-01-181-7/+2
* Merge pull request #33985 from eugeneius/attribute_methods_schema_cacheKasper Timm Hansen2019-01-031-0/+4
|\
| * Only define attribute methods from schema cacheEugene Kenny2018-09-281-0/+4
* | Bring ActiveRecord::Core's API document back [ci skip]yuuji.yaginuma2019-01-021-3/+1
* | Make connection handler per thread instead of per fiberEileen Uchitelle2018-11-201-2/+2
* | Fix inspect with non-primary key id attributeEugene Kenny2018-11-061-2/+2
* | Merge pull request #34208 from yskkin/inspect_with_parameter_filterRyuta Kamizono2018-10-261-19/+22
|\ \
| * | Implement AR#inspect using ParamterFilter.Yoshiyuki Kinjo2018-10-191-19/+22
* | | Consolidate duplicated code that initializing an empty model objectRyuta Kamizono2018-10-171-19/+7
|/ /
* / Basic API for connection switchingEileen Uchitelle2018-10-101-0/+3
|/
* Add mention about `ActiveRecord::Base::filter_attributes` to the changelog entrybogdanvlviv2018-09-121-6/+6
* Build string set when `filter_attributes` is assignedbogdanvlviv2018-09-121-6/+17
* DRY `activerecord/lib/active_record/core.rb` and fix testsbogdanvlviv2018-09-121-6/+9
* Clarify docs of `config.filter_parameters` and `#filter_attributes`bogdanvlviv2018-09-121-1/+1
* Configuration item `config.filter_parameters` could also filter out sensitive...Zhang Kang2018-09-071-2/+18
* Refactors Active Record connection managementEileen Uchitelle2018-08-301-13/+9
* [ci skip] Change references from Rake task to Rails commandAlberto Almagro2018-08-011-1/+1
* define attribute methods in `init_from_db`Aaron Patterson2018-06-261-0/+2
* Merge branch 'master' into homogeneous-allocationAaron Patterson2018-06-261-5/+0
|\
| * Call initialize after allocateAaron Patterson2018-06-261-5/+0
* | Speed up homogeneous AR lists / reduce allocationsAaron Patterson2018-06-251-0/+20
|/
* Clear the transaction state when AR object is dupedYuriy Ustushenko2018-01-251-2/+4
* Avoid passing unnecessary arguments to relationDaniel Colson2018-01-241-1/+1
* Log call site for all queriesOlivier Lacan2017-12-131-0/+7
* Prevent extra `spawn` to make `klass.all` faster (#29009)Ryuta Kamizono2017-11-201-1/+2
* remove :enabled optionBen Toews2017-11-091-3/+2
* add config to check arguments to unsafe AR methodsBen Toews2017-11-091-0/+9
* Remove deprecated configuration `.error_on_ignored_order_or_limit`Rafael Mendonça França2017-10-231-20/+0
* Update links to use https instead of http [ci skip]Yoshiyuki Hirano2017-08-221-1/+1
* Fix outdated comment for `Core::ClassMethods#===` [ci skip] (#30146)Ryuta Kamizono2017-08-121-2/+2
* Use `Concurrent::Map` than `Mutex` and `Mutex_m` for statement cachesRyuta Kamizono2017-08-041-4/+3
* Passing `klass` to `StatementCache.new`Ryuta Kamizono2017-08-041-2/+2
* Merge pull request #29842 from kamipo/fix_find_by_with_rangeMatthew Draper2017-08-021-3/+2
|\
| * Fix `find_by` with range conditionsRyuta Kamizono2017-07-201-3/+2
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|/
* Remove useless `arel_engine`Ryuta Kamizono2017-07-171-10/+0