aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | Merge pull request #27294 from eavgerinos/doc-ar-callbacks-orderRafael França2017-01-061-0/+49
|\ \ \ \ \ \
| * | | | | | [ci skip] ActiveRecord: Document order of CallbacksAggelos Avgerinos2016-12-221-0/+49
* | | | | | | Privatize unneededly protected methods in Active RecordAkira Matsuda2017-01-053-12/+10
* | | | | | | `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-0515-20/+20
* | | | | | | This method is never called since 8e633e505880755e7e366ccec2210bbe2b5436e7Akira Matsuda2017-01-051-7/+0
* | | | | | | Optimizing information_schema query for `foreign_keys`Ryuta Kamizono2017-01-051-0/+1
* | | | | | | Raise error when has_many through is defined before through associationChris Holmes2017-01-042-0/+18
* | | | | | | Fix `find_by` and `where` consistencyRyuta Kamizono2017-01-041-3/+3
* | | | | | | Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-032-49/+4
* | | | | | | Revert "Merge pull request #27550 from mtsmfm/fix-generator-command-for-neste...Rafael Mendonça França2017-01-031-1/+1
* | | | | | | Merge pull request #27550 from mtsmfm/fix-generator-command-for-nested-rails-...Rafael França2017-01-031-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Fix generator command for nested (namespaced) rails engineFumiaki MATSUSHIMA2017-01-031-1/+1
* | | | | | | | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-032-4/+49
|\ \ \ \ \ \ \ \
| * | | | | | | | Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-032-4/+49
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge pull request #25522 from kamipo/fix_select_rows_method_signature_for_co...Rafael França2017-01-033-20/+24
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix `select_rows` method signature for consistencyRyuta Kamizono2017-01-043-20/+24
* | | | | | | | | Remove unneeded requires at active recordRafael Mendonça França2017-01-033-5/+0
* | | | | | | | | Merge pull request #26689 from kamipo/deprecate_passing_name_to_indexesRafael Mendonça França2017-01-034-2/+22
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Deprecate passing `name` to `indexes` like `tables`Ryuta Kamizono2017-01-044-2/+22
| |/ / / / / / / /
* | | | | | | | | Remove deprecation of using ActiveRecord::Base instance in .updateRafael Mendonça França2017-01-031-2/+1
* | | | | | | | | Remove deprecated db:test:clone* tasksRafael Mendonça França2017-01-031-24/+0
|/ / / / / / / /
* | | | | | | | Merge pull request #26352 from kamipo/avoid_to_call_set_inverse_instance_twiceArthur Nogueira Neves2017-01-032-2/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Avoid to call `set_inverse_instance` twice for `has_many` associationRyuta Kamizono2016-12-282-2/+2
* | | | | | | | | Compare deserialized values for `PostgreSQL::OID::Hstore` typesJon Moss2017-01-031-0/+8
* | | | | | | | | [ci skip] Find and record the article! 🤓Kasper Timm Hansen2017-01-031-2/+2
* | | | | | | | | Raise ArgumentError when a instance of ActiveRecord::Base is passed toRafael Mendonça França2017-01-032-16/+10
* | | | | | | | | Consistently apply adapter behavior when serializing arraysSean Griffin2017-01-032-13/+41
* | | | | | | | | Merge pull request #27435 from kamipo/follow_up_25307Sean Griffin2017-01-031-2/+2
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Active Record supports MySQL >= 5.1.10Ryuta Kamizono2016-12-221-2/+2
| | |_|_|/ / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #27491 from kamipo/add_missing_emit_warningSean Griffin2017-01-031-0/+5
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add missing `emit_warning_if_needed` for `changed?`Ryuta Kamizono2016-12-291-0/+5
* | | | | | | | | | Cache results of computing model typeKonstantin Lazarev2017-01-031-2/+15
| |_|_|_|/ / / / / |/| | | | | | | |
* | | | | | | | | Counter cache touching don't need object finding anymoreRyuta Kamizono2017-01-031-6/+5
* | | | | | | | | Push `current_time_from_proper_timezone` and timestamp attributes methods up ...Ryuta Kamizono2017-01-031-20/+35
* | | | | | | | | Fix update counters of multiple records with touch: trueRyuta Kamizono2017-01-031-1/+1
* | | | | | | | | [ci skip] Use touch; slim wording.Kasper Timm Hansen2017-01-021-2/+2
* | | | | | | | | Merge pull request #27526 from kirs/database-tasks-schema-cacheRafael França2017-01-012-4/+11
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Dump schema cache for custom connectionKir Shatrov2017-01-012-4/+11
* | | | | | | | | | Fix grammar in active_record/counter_cache.rb [ci skip]kenta-s2017-01-021-3/+3
* | | | | | | | | | `touch_time` should be type casted to respect the precision of the columnRyuta Kamizono2017-01-021-3/+1
* | | | | | | | | | Prefer `each` over `map` because unused return valueRyuta Kamizono2017-01-021-1/+1
* | | | | | | | | | Don't invoke `touch_updates` if `touch` does not suppliedRyuta Kamizono2017-01-021-3/+3
* | | | | | | | | | Fix tests with counter cache touching and more.Kasper Timm Hansen2017-01-011-18/+10
* | | | | | | | | | Added option to ActiveRecord::CounterCache methods.Jarred Trost2017-01-011-8/+68
* | | | | | | | | | Revert "Merge pull request #27528 from kamipo/extract_casted_booleans"Kasper Timm Hansen2017-01-011-6/+14
* | | | | | | | | | Change `timestamp_attributes_for_{create,update}` from symbol to stringRyuta Kamizono2017-01-011-6/+5
* | | | | | | | | | Merge pull request #27528 from kamipo/extract_casted_booleansKasper Timm Hansen2016-12-311-14/+6
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Extract `casted_true`/`casted_false` for `Type::ImmutableString`Ryuta Kamizono2017-01-011-14/+6
* | | | | | | | | | | Refactor `CollectionAssociation#ids_reader`Ryuta Kamizono2017-01-011-3/+1
|/ / / / / / / / / /
* / / / / / / / / / Dump array subtype options correctlyRyuta Kamizono2017-01-011-1/+1
|/ / / / / / / / /