aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Implement `scopes` method on each Reflectioneileencodes2017-01-301-5/+47
* Merge pull request #27787 from y-yagi/show_correct_class_name_in_migration_errorRafael França2017-01-301-1/+1
|\
| * show correct class name in migration inherited directly erroryuuji.yaginuma2017-01-241-1/+1
* | Merge pull request #27847 from jaredbeck/patch-6Rafael França2017-01-301-0/+2
|\ \
| * | Docs: Specify return value of `save!`Jared Beck2017-01-301-0/+2
* | | Merge pull request #27743 from jordanlewis/simplify-postgres-column-definitionsRafael França2017-01-301-5/+5
|\ \ \ | |/ / |/| |
| * | Simplify Postgres query for column_definitions()Jordan Lewis2017-01-301-5/+5
* | | Merge pull request #27773 from kirs/serialized-error-attributeRafael França2017-01-303-6/+7
|\ \ \ | |/ / |/| |
| * | Report the attribute on ActiveRecord::SerializationTypeMismatchKir Shatrov2017-01-293-6/+7
| |/
* / Missing require "active_support/multibyte/chars"Akira Matsuda2017-01-271-0/+1
|/
* move `db_migrate_path` method to `Migration` moduleyuuji.yaginuma2017-01-223-16/+8
* 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
|/
* Merge pull request #27674 from kjg/migration_generator_honor_path_configAndrew White2017-01-172-2/+18
|\
| * Generate migrations at path set by `config.paths["db/migrate"]`Kevin Glowacz2017-01-162-2/+18
* | 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-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