aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Deprecate `initialize_schema_migrations_table` and `initialize_internal_metad...Ryuta Kamizono2017-01-203-7/+7
* Revert "Merge pull request #27718 from kamipo/remove_internal_public_methods"Matthew Draper2017-01-203-3/+13
* Merge pull request #27384 from matthewd/bigint-pk-tweaksMatthew Draper2017-01-205-9/+7
|\
| * Tweak bigint PK handlingMatthew Draper2017-01-185-9/+7
* | Remove `initialize_schema_migrations_table` and `initialize_internal_metadata...Ryuta Kamizono2017-01-183-13/+3
|/
* SQLite: Foreign Key SupportRyuta Kamizono2017-01-173-3/+34
* Translate Foreign Key violation to the specific exception for SQLite3 adapterRyuta Kamizono2017-01-161-0/+21
* Revert "Don't guard against `touch: []`."Kasper Timm Hansen2017-01-151-1/+2
* Merge pull request #27618 from kamipo/fix_uuid_default_nilKasper Timm Hansen2017-01-151-1/+1
|\
| * Fix UUID primary key with default nil in legacy migrationRyuta Kamizono2017-01-091-1/+1
* | Don't guard against `touch: []`.Kasper Timm Hansen2017-01-151-2/+1
* | Merge pull request #27660 from akihiro17/updates-timestampKasper Timm Hansen2017-01-142-7/+12
|\ \
| * | Add the touch option to ActiveRecord#increment! and decrement!akihiro172017-01-142-7/+12
* | | `type_condition` should be overwritten by `create_with_value` in `scope_for_c...Ryuta Kamizono2017-01-151-1/+1
* | | Fix pool_from_any_process to use most recent speceileencodes2017-01-131-1/+1
|/ /
* | class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-133-13/+9
* | Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-123-6/+6
* | beginrescueendAkira Matsuda2017-01-121-5/+3
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-01-111-3/+3
|\ \
| * | `meta-data` --> `metadata`Jon Moss2016-12-311-3/+3
* | | Fix indentKouhei Sutou2017-01-111-1/+1
* | | Improve deprecation message for deprecated reflection class nameRyuta Kamizono2017-01-101-1/+1
* | | Suppress deprecation message to `has_and_belongs_to_many` only onceRyuta Kamizono2017-01-101-2/+2
* | | Merge pull request #27551 from kirs/deprecate-class-name-as-classKasper Timm Hansen2017-01-091-0/+11
|\ \ \ | |_|/ |/| |
| * | Deprecate reflection class name to accept a classKir Shatrov2017-01-091-0/+11
* | | Merge pull request #25427 from eugeneius/update_increment_documentationKasper Timm Hansen2017-01-081-8/+8
|\ \ \ | |/ / |/| |
| * | Update increment! documentation [ci skip]Eugene Kenny2016-08-151-8/+8
* | | Merge pull request #27598 from NickLaMuro/fix-deep-nesting-where-clauses-with...Sean Griffin2017-01-071-1/+1
|\ \ \
| * | | Adds .to_s to table_name callNick LaMuro2017-01-061-1/+1
* | | | Preserve `up` and `down` return typeschneems2017-01-061-2/+4
|/ / /
* | | 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-0514-19/+19
* | | | 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
* | | | 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