- 16 2月, 2017 5 次提交
-
-
由 Jon Moss 提交于
Change ActiveModel::Validation to ActiveModel::Validations in comments
-
由 Sen Zhang 提交于
-
由 Jon Moss 提交于
Remove redundant namespaces from sample code of `deprecated_method_wa…
-
由 Eileen M. Uchitelle 提交于
Fix a tests of AR::ValueTooLong when using OracleAdapter
-
由 Eileen M. Uchitelle 提交于
Indicate units of 'limit' in 'Integer' error message.
-
- 15 2月, 2017 3 次提交
-
-
由 Corey Farwell 提交于
-
由 kenta-s 提交于
-
由 Godfrey Chan 提交于
Fix generator command for nested (namespaced) rails engine (take 2)
-
- 14 2月, 2017 17 次提交
-
-
由 Rafael França 提交于
Remove unused DdlHelper in ForeignKeyTest
-
由 Ryuta Kamizono 提交于
-
由 Matthew Draper 提交于
Use ActiveRecord `bigint` type, not SQL literal bigint
-
由 Yasuo Honda 提交于
Oracle database itself does not have `bigint` SQL type, then it gets `ORA-00902: invalid datatype`. It can be addressed by using ActiveRecord `bigint` type because Oracle enhanced adapter recognizes ActiveRecord `bigint` type and transfer it to its equivalent SQL type `NUMBER(19)`.
-
由 Eileen M. Uchitelle 提交于
Should keep the primary key column order
-
由 Ryuta Kamizono 提交于
Fixes CI failure caused by #27961. https://travis-ci.org/rails/rails/jobs/201472146#L2390-L2409
-
由 Vipul A M 提交于
Not ants were harmed!
🐜 [ci skip] -
由 Mario Uher 提交于
-
由 Sean Griffin 提交于
Simplify and optimize Postgres query for primary_keys()
-
由 Koichi ITO 提交于
-
由 Rafael França 提交于
Fix the return of `deprecate_methods` in doc [ci skip]
-
由 kenta-s 提交于
-
由 Rafael França 提交于
Freeze fragment cache related instrument name.
-
由 Jordan Lewis 提交于
primary_keys(table) needs to query various metadata tables in Postgres to determine the primary key for the table. Previously, it did so using a complex common table expression against pg_constraint and pg_attribute. This patch simplifies the query by using information_schema tables. This simplifies the logic, making the query far easier to understand, and additionally avoids an expensive unnest, window function query, and common table expression.
-
由 Rafael França 提交于
Add `default_index_type?` to the generic schema dumper doesn't have the knowledge about an index type
-
由 Ryuta Kamizono 提交于
Add `default_index_type?` to the generic schema dumper doesn't have the knowledge about an index type
-
由 Rafael Mendonça França 提交于
-
- 13 2月, 2017 15 次提交
-
-
由 Rafael França 提交于
Fix `remove_index` to be able to remove expression indexes
-
由 Rafael França 提交于
Omit redundant `using: :btree` for schema dumping
-
由 Ryuta Kamizono 提交于
-
由 Rafael França 提交于
Refactor `test_find_by_does_not_use_statement_cache_if_table_name_is_changed`
-
由 kenta-s 提交于
-
由 Rafael França 提交于
Fix unscope with subquery
-
由 Rafael França 提交于
The `default` arg of `index_name_exists?` makes to optional
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
由 Rafael França 提交于
Extract `quoted_binary` and use it rather than override `_quote`
-
由 Ryuta Kamizono 提交于
The `default` arg of `index_name_exists?` is only used the adapter does not implemented `indexes`. But currently all adapters implemented `indexes` (See #26688). Therefore the `default` arg is never used.
-
由 Ryuta Kamizono 提交于
Closes #27980
-
由 Ryuta Kamizono 提交于
Closes #27979
-
由 Ryuta Kamizono 提交于
`supports_primary_key?` was added to determine if `primary_key` is implemented in the adapter in f0602214. But we already use `primary_key` without `supports_primary_key?` (207f266c, 5f3cf424) and using `supports_primary_key?` has been removed in #1318. This means that `supports_primary_key?` is no longer used in the internal and Active Record doesn't work without `primary_key` is implemented (all adapters must implement `primary_key`). Closes #27977
-
由 Ryuta Kamizono 提交于
These files are not using `strip_heredoc`. Closes #27976
-