aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | 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
* | | applies new string literal convention in activerecord/testXavier Noria2016-08-0658-307/+307
* | | Don't assume all hashes are from multiparameter assignment in `composed_of`Sean Griffin2016-08-051-0/+1
|/ /
* | Merge pull request #25767 from kamipo/association_name_is_the_same_as_join_ta...Rafael França2016-07-271-0/+6
|\ \
| * | Correctly return `associated_table` when `associated_with?` is trueRyuta Kamizono2016-07-101-0/+6
* | | Oracle TIMESTAMP sql type is associated with Rails `DateTime` type nowYasuo Honda2016-07-201-6/+0
|/ /
* / Ensure hashes can be passed to attributes using `composed_of`Sean Griffin2016-05-311-1/+6
|/
* Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-063-1/+11
* Fix `warning: method redefined; discarding old female`Ryuta Kamizono2016-03-121-3/+0
* Execute default_scope defined by abstract class within the scope of subclassMehmet Emin İNAÇ2016-03-081-0/+13
* don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-0/+8
* Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-0/+6
|\
| * Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-021-0/+6
* | Ensure suppressor runs before validationseileencodes2016-02-241-0/+1
* | Merge pull request #23628 from maclover7/fix-23625Sean Griffin2016-02-231-0/+6
|\ \