aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #27838 from kamipo/reload_destroyed_through_recordRafael França2017-01-311-0/+4
|\
| * Reload `through_record` that has been destroyed in `create_through_record`Ryuta Kamizono2017-01-291-0/+4
* | Merge pull request #27849 from joevandyk/patch-2Rafael França2017-01-311-1/+2
* | Avoid lambda scopes when possibleAaron Patterson2017-01-301-3/+1
* | deprecate `scope_chain`Aaron Patterson2017-01-301-0/+2
* | update comments and call `super`Aaron Patterson2017-01-301-24/+3
* | remove caching until we prove it is requiredAaron Patterson2017-01-301-7/+3
* | Fix `scopes` implementation on `PolymorphicReflection`Aaron Patterson2017-01-303-54/+15
* | 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