aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #29869 from kamipo/make_type_map_to_privateRafael França2017-07-215-14/+12
|\
| * Make `type_map` to private because it is only used in the connection adapterRyuta Kamizono2017-07-205-14/+12
* | Merge pull request #29855 from lugray/has_one_destroyed_by_associationRafael França2017-07-211-0/+34
|\ \
| * | Match destroyed_by_association for has_one to has_manyLisa Ugray2017-07-211-0/+34
| |/
* | Merge pull request #29732 from kirs/frozen-activerecordRafael França2017-07-21432-11/+877
|\ \
| * | Reset column information after schema changedyuuji.yaginuma2017-07-202-0/+4
| * | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-19431-11/+873
| |/
* / Revert "Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`"Sean Griffin2017-07-2113-46/+56
|/
* Merge pull request #29033 from kamipo/make_preload_query_to_prepared_statementsSean Griffin2017-07-183-3/+3
|\
| * Make preload query to preparableRyuta Kamizono2017-07-073-3/+3
* | Merge branch 'master' into fix_unscope_where_column_with_orSean Griffin2017-07-1819-223/+256
|\ \
| * \ Merge pull request #29834 from kamipo/fix_unscoping_default_scope_with_sti_as...Sean Griffin2017-07-183-0/+20
| |\ \
| | * | Fix unscoping `default_scope` for `Preloader`Ryuta Kamizono2017-07-191-0/+2
| | * | Fix unscoping `default_scope` in STI associationsRyuta Kamizono2017-07-193-0/+18
| * | | Don't convert dates to strings when using prepared statements in mysqlSean Griffin2017-07-181-3/+11
| |/ /
| * | Fix typo s/rause/raise/Ryuta Kamizono2017-07-191-1/+1
| * | Remove deprecated code concerning non-attributes and `*_will_change!`Sean Griffin2017-07-182-6/+4
| * | Remove deprecated code concerning dirty methods in after callbacksSean Griffin2017-07-181-4/+3
| * | Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-181-5/+14
| * | Merge pull request #29801 from kamipo/extract_null_relation_testSean Griffin2017-07-172-118/+82
| |\ \
| | * | Ensure calculation methods execute no queriesRyuta Kamizono2017-07-151-60/+14
| | * | Extract `NullRelationTest` from `RelationTest`Ryuta Kamizono2017-07-152-118/+128
| * | | Merge pull request #29799 from kamipo/remove_outdated_test_scoped_responds_to...Sean Griffin2017-07-171-8/+0
| |\ \ \
| | * | | Remove outdated `test_scoped_responds_to_delegated_methods`Ryuta Kamizono2017-07-151-8/+0
| | |/ /
| * | | Merge pull request #25564 from brewski/serializable_hash_fixSean Griffin2017-07-171-4/+2
| |\ \ \
| | * | | Correctly handle frozen options for ActiveRecord::Serialization#serializable_...Brian Abreu2016-12-091-4/+2
| * | | | Merge pull request #29796 from kamipo/fix_where_with_custom_tableSean Griffin2017-07-171-4/+4
| |\ \ \ \
| | * | | | Fix `where` with a custom tableRyuta Kamizono2017-07-181-4/+4
| * | | | | `Persistence#delete` should not be affected by scopingRyuta Kamizono2017-07-181-0/+7
| |/ / / /
| * | | | Merge pull request #29788 from kamipo/remove_unused_mutex_mRafael França2017-07-172-3/+2
| |\ \ \ \
| | * | | | Make `generated_attribute_methods` to privateRyuta Kamizono2017-07-141-1/+1
| | * | | | Remove unused `Mutex_m` in Active ModelRyuta Kamizono2017-07-141-2/+1
| | | |/ / | | |/| |
| * | | | Allow multiparameter assigned attributes to be used with `text_field`Sean Griffin2017-07-171-0/+11
| * | | | Merge pull request #29825 from kamipo/remove_useless_arel_engineSean Griffin2017-07-171-7/+2
| |\ \ \ \
| | * | | | Remove useless `arel_engine`Ryuta Kamizono2017-07-171-7/+2
| * | | | | Post.joins(:users) should not be affected by `User.current_scope`Sean Griffin2017-07-171-0/+10
| |/ / / /
| * | | | Enable `Layout/FirstParameterIndentation` copRyuta Kamizono2017-07-171-1/+1
| * | | | Merge pull request #29813 from kamipo/fix_create_with_multiparameter_attributesKasper Timm Hansen2017-07-161-13/+32
| |\ \ \ \
| | * | | | Fix `create_with` with multiparameter attributesRyuta Kamizono2017-07-161-13/+32
| * | | | | Don't cache `scope_for_create`Ryuta Kamizono2017-07-161-10/+2
| |/ / / /
| * | | | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-163-5/+9
| * | | | Use `where(id: 10)` rather than `where(relation.table[:id].eq(10))`Ryuta Kamizono2017-07-161-5/+5
| * | | | Merge pull request #29679 from kamipo/add_test_case_for_27724Kasper Timm Hansen2017-07-152-0/+12
| |\ \ \ \
| | * | | | Add a test case for overwriting existing condition on associationsRyuta Kamizono2017-07-072-0/+12
| | | |_|/ | | |/| |
| * | | | Merge pull request #29769 from kamipo/remove_extra_order_for_firstKasper Timm Hansen2017-07-152-32/+28
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Remove extra `.merge!(order: "id")` for `Relation#first` in testsRyuta Kamizono2017-07-132-32/+28
* | | | | Bugfix: unscope(where: [columns]) would not remove the correct binds sometimesMaxime Lapointe2017-07-131-1/+17
|/ / / /
* | | | Merge pull request #29699 from lugray/represent_boolean_as_integerMatthew Draper2017-07-123-4/+17
|\ \ \ \
| * | | | Change sqlite3 boolean serialization to use 1 and 0Lisa Ugray2017-07-113-4/+17
| |/ / /
* / / / Extract `FakeKlass` in `relation_test.rb` and `relation/mutation_test.rb`Ryuta Kamizono2017-07-113-52/+38
|/ / /