aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
* | | Enforce frozen string in RubocopKir Shatrov2017-07-01144-10/+154
* | | Merge pull request #29416 from kamipo/remove_unused_subject_modelRafael França2017-06-281-14/+0
|\ \ \
| * | | Remove unused `Subject` model in testsRyuta Kamizono2017-06-111-14/+0
* | | | Merge pull request #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-281-0/+1
|\ \ \ \
| * | | | Remove delegating to arel in a relationRyuta Kamizono2017-06-291-0/+1
* | | | | Ensure that using correct alias trackerRyuta Kamizono2017-06-251-0/+1
|/ / / /
* / / / Remove unused defined associationRyuta Kamizono2017-06-111-1/+0
|/ / /
* | | Correct a has_many association testKoichi ITO2017-06-011-0/+1
* | | Merge pull request #26634 from kamipo/extract_numeric_dataRafael França2017-05-311-0/+8
|\ \ \
| * | | Restore the override of numeric attributes properlyRyuta Kamizono2016-12-221-0/+5
| * | | Extract `NumericData` model for testsRyuta Kamizono2016-09-271-0/+3
* | | | Add missing `delegate :extending, to: :all`Ryuta Kamizono2017-06-011-0/+2
* | | | Merge pull request #29098 from kamipo/fix_association_with_extension_issuesMatthew Draper2017-05-302-1/+11
|\ \ \ \
| * | | | Fix association with extension issuesRyuta Kamizono2017-05-282-1/+11
* | | | | Merge pull request #28969 from kamipo/refactor_enum_to_use_value_instead_of_l...Matthew Draper2017-05-281-1/+1
|\ \ \ \ \
| * | | | | Refactor enum to use `value` instead of `label` in the scopeRyuta Kamizono2017-05-071-1/+1
| |/ / / /
* | | | | Merge pull request #29003 from kamipo/delegate_ast_and_locked_to_arel_explicitlyMatthew Draper2017-05-281-0/+9
|\ \ \ \ \
| * | | | | Delegate `ast` and `locked` to `arel` explicitlyRyuta Kamizono2017-05-061-0/+9
| |/ / / /
* / / / / Enable extending even if scope returns nilRyuta Kamizono2017-05-241-1/+1
|/ / / /
* | | | Add type caster to `RuntimeReflection#alias_name`Jon Moss2017-05-022-1/+2
* | | | Remove useless test caseRyuta Kamizono2017-04-261-8/+0
* | | | Mixin `CollectionProxy::DelegateExtending` after `ClassSpecificRelation`Ryuta Kamizono2017-04-221-0/+5
* | | | Add a test case for #20802Ryuta Kamizono2017-04-131-0/+1
* | | | Fix extension method with dirty target in has_many associationsRyuta Kamizono2017-03-201-0/+4
* | | | Fix inspection behavior when the :id column is not primary keynamusyaka2017-02-091-0/+2
| |/ / |/| |
* | | Correct spellingBenjamin Fleischer2017-02-051-1/+1
* | | Chain scope constraints should respect own table aliasRyuta Kamizono2017-02-013-0/+12
* | | Deprecate reflection class name to accept a classKir Shatrov2017-01-091-1/+1
* | | Privatize unneededly protected methods in Active RecordAkira Matsuda2017-01-051-3/+1
* | | `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* | | Raise error when has_many through is defined before through associationChris Holmes2017-01-041-0/+6
* | | Merge pull request #27335 from kamipo/remove_duplicated_model_definitionSean Griffin2017-01-031-0/+3
|\ \ \
| * | | Remove duplicated model class definitions in `test/cases/base_test.rb`Ryuta Kamizono2016-12-121-0/+3
* | | | Replace sleep with synchronizationMatthew Draper2017-01-021-1/+1
* | | | Should not update children when the parent creation with no reasonRyuta Kamizono2016-12-291-0/+5
* | | | Privatize unneededly protected methods in Active Record testsAkira Matsuda2016-12-243-3/+3
* | | | fix #create_fixtures when equal table names in different databasesJulia Lopez2016-12-211-0/+5
|/ / /
* | | Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-2/+2
* | | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-294-15/+15
* | | Don't skip in-memory insertion of associations when loaded in validateSean Griffin2016-09-291-6/+0
|/ /
* | Add tests for ActiveRecord::Enum#enum when suffix specifiedYosuke Kabuto2016-09-121-0/+1
* | Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-0/+1
|\ \
| * | Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-0/+1
* | | Add three new rubocop rulesRafael Mendonça França2016-08-1610-32/+32
* | | code gardening: removes redundant selfsXavier Noria2016-08-082-2/+2
* | | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* | | applies remaining conventions across the projectXavier Noria2016-08-068-13/+4
* | | normalizes indentation and whitespace across the projectXavier Noria2016-08-068-27/+26
* | | remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* | | modernizes hash syntax in activerecordXavier Noria2016-08-0662-536/+535