aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #36448 from kamipo/allow_column_name_with_simple_function_...Ryuta Kamizono2019-06-113-34/+35
|\
| * Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-103-34/+35
* | All modern adapters returns a numeric value as the result of numeric calculationRyuta Kamizono2019-06-112-10/+2
|/
* Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-101-0/+10
* NULLS { FIRST | LAST } is safe SQL string since 6c82b6c99d86f37e61f935fb342cc...Ryuta Kamizono2019-06-071-6/+6
* Merge pull request #36429 from bogdan/fix-preloading-duplicate-recordsRyuta Kamizono2019-06-071-0/+5
|\
| * Fix preloading on AR::Relation where records are duplicated by a joinBogdan Gusiev2019-06-061-0/+5
* | Merge pull request #36426 from abhaynikam/bump-codeclimate-rubocop-versionRyuta Kamizono2019-06-061-2/+0
|\ \
| * | Bump rubocop to 0.71Abhay Nikam2019-06-061-2/+0
* | | Merge pull request #36420 from kamipo/quoted_identifier_regexRyuta Kamizono2019-06-063-7/+29
|\ \ \ | |/ / |/| |
| * | Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-063-7/+29
* | | Move schema cache from connection to pooleileencodes2019-06-051-1/+0
|/ /
* | Merge pull request #36394 from eileencodes/treat-application-record-as-primaryEileen M. Uchitelle2019-06-051-0/+13
|\ \
| * | Treat ActiveRecord::Base and ApplicationRecord as "primary"eileencodes2019-06-051-0/+13
| |/
* / Fix sqlite3 collation parsing when using decimal columns.Martin Schuster2019-06-041-0/+9
|/
* Merge pull request #36384 from guigs/fix-invalid-schema-when-pk-column-has-co...Ryuta Kamizono2019-06-031-1/+21
|\
| * Fix invalid schema dump when primary key column has a commentGuilherme Goettems Schneider2019-06-031-1/+21
* | Address test_pluck_columns_with_same_name failure due to nondeterministic sor...Yasuo Honda2019-06-021-1/+1
|/
* Fix table comment also being applied to the primary key columnGuilherme Goettems Schneider2019-05-311-0/+5
* Address intermittent CI failure due to non-determined sort orderRyuta Kamizono2019-05-301-6/+7
* Address intermittent CI failure in cascaded_eager_loading_test.rbRyuta Kamizono2019-05-291-12/+12
* Merge pull request #36353 from p8/fix-spelling-in-face-modelRyuta Kamizono2019-05-291-1/+1
|\
| * Fix comment for "broken" inverse_of associations [ci skip]Petrik2019-05-281-1/+1
* | Address intermittent CI failure due to unfilled schema columns cacheRyuta Kamizono2019-05-291-3/+3
|/
* Use `capture_sql` instead of `assert_sql` with no patternRyuta Kamizono2019-05-223-15/+12
* Give up filling schema cache before `assert_no_queries`Ryuta Kamizono2019-05-226-90/+24
* Fall back to type casting from the connection adapterRyuta Kamizono2019-05-211-1/+6
* Except SCHEMA SQLs in `capture_sql`Ryuta Kamizono2019-05-211-1/+1
* Implicit through table joins should be appeared before user supplied joinsRyuta Kamizono2019-05-191-0/+8
* Merge pull request #36284 from kamipo/fix_eager_loading_with_string_joinsRyuta Kamizono2019-05-152-0/+12
|\
| * Fix eager loading associations with string joins not to raise NoMethodErrorRyuta Kamizono2019-05-152-0/+12
* | Don't track implicit `touch` mutationRyuta Kamizono2019-05-131-5/+15
* | Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log nameYasuo Honda2019-05-082-11/+3
|/
* Should attempt `committed!`/`rolledback!` to all enrolled records in the tran...Ryuta Kamizono2019-05-071-5/+51
* Remove redundant `test_too_many_binds`Yasuo Honda2019-05-031-20/+0
* Namespace association extension modules under the owner modelJean Boussier2019-05-022-10/+10
* Make scope arity check consistent (#36134)Rob Trame2019-05-012-0/+19
* Remove database specific sql statements from SQLCounterYasuo Honda2019-05-013-19/+7
* Should take the record's state of first action in the transactionRyuta Kamizono2019-04-301-0/+2
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-272-0/+5
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-244-19/+25
|\
| * Assert deprecationlulalala2019-03-311-2/+2
| * Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-312-12/+16
| * Fix spec as generate_message is no longer called during validationlulalala2019-03-311-0/+2
| * Fix misalignment caused by SHA eebb9ddf9ba559a510975c486fe59a4edc9da97dlulalala2019-03-311-5/+5
* | Merge pull request #35869 from abhaynikam/35866-add-touch-option-for-has-one-...Ryuta Kamizono2019-04-253-2/+43
|\ \
| * | Adds touch option to has_one associationAbhay Nikam2019-04-253-2/+43
* | | Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-2/+2
* | | Fix sliced IN clauses to be groupedRyuta Kamizono2019-04-246-46/+25
|/ /
* | Make association builder methods privateRyuta Kamizono2019-04-241-1/+1