- 21 6月, 2019 1 次提交
-
-
由 Rafael França 提交于
Revert schema dumper to use strings rather than integers
-
- 20 6月, 2019 1 次提交
-
-
由 Yuji Yaginuma 提交于
Include BCC in the mail that sent from the development page
-
- 18 6月, 2019 1 次提交
-
-
由 Rafael França 提交于
Fix TranslationHelper#translate handling of Hash defaults
-
- 17 6月, 2019 4 次提交
-
-
由 Ryuta Kamizono 提交于
PostgreSQL: Fix GROUP BY with ORDER BY virtual count attribute
-
由 Ryuta Kamizono 提交于
No allocation `Arel::Visitors::ToSql#visit`
-
由 Ryuta Kamizono 提交于
Delete method definition in rails that is compatible with ruby defini…
-
由 Prem Sichanugrist 提交于
Fix typo initialzer -> initializer [ci skip]
-
- 15 6月, 2019 10 次提交
-
-
由 Ryuta Kamizono 提交于
Tables in tests are not always empty so `klass.first` does not always find last created record. Fixes #36479.
-
由 Eileen M. Uchitelle 提交于
Move while_preventing_writes from conn to handler
-
由 Ryuta Kamizono 提交于
[ci skip] Update docs as `remove_column` can be reversed
-
由 Eileen M. Uchitelle 提交于
Update multi-db docs
-
由 Vipul A M 提交于
Fixed a couple of typos, word 'deliberately' and database_resolver_context class name. [ci skip]
-
由 Eileen M. Uchitelle 提交于
Fix sentence and a typo
-
由 Eileen M. Uchitelle 提交于
Document multiple databases in Rails
-
由 Eileen M. Uchitelle 提交于
Move SchemaMigration to migration_context
-
由 Eileen M. Uchitelle 提交于
Add support for multiple databases to `rails db:abort_if_pending_migrations`
-
- 14 6月, 2019 4 次提交
-
-
由 Alberto Almagro 提交于
When a route was defined within an optional scope, if that route didn't take parameters the scope was lost when using path helpers. This patch ensures scope is kept both when the route takes parameters or when it doesn't. Fixes #33219
-
由 Rafael França 提交于
[ci skip] Use default path in button_to documentation
-
由 jeffdoering 提交于
* Make ActiveRecord `ConnectionPool.connections` thread-safe. ConnectionPool documentation is clear on the need to synchronize access to @connections but also states that public methods do not require synchronization. Existing code exposed @connections directly via attr_reader. The fix uses synchronize() to lock @connections then returns a copy to the caller using Array.dup(). Includes comments on the connections method that thread-safe access to the connections array does not imply thread-safety of accessing methods on the actual connections. Adds a test-case that modifies the pool using a supported method in one thread while a second thread accesses pool.connections. The test fails without this patch. Fixes #36465. * Update activerecord/test/cases/connection_pool_test.rb [jeffdoering + Rafael Mendonça França]
-
由 Rafael França 提交于
images/getting_started: Update screenshot for missing action
-
- 13 6月, 2019 1 次提交
-
-
由 Rafael França 提交于
Add missing file to require digest/uuid on active_support core ext
-
- 12 6月, 2019 4 次提交
-
-
由 Ryuta Kamizono 提交于
Clear Resolvers' cache after RenderTestCases tests
-
由 Ryuta Kamizono 提交于
Allow column name with function (e.g. `length(title)`) as safe SQL string
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
`split(/\s*,\s*/)` to order args and then `permit.match?` one by one is much slower than `permit.match?` once.
-
- 07 6月, 2019 4 次提交
-
-
由 Eileen M. Uchitelle 提交于
Add forgotten nodoc to dump_schema method.
-
由 Ryuta Kamizono 提交于
Allow quoted identifier string as safe SQL string
-
由 Ryuta Kamizono 提交于
Fix preloading on AR::Relation where records are duplicated by a join
-
由 Rafael França 提交于
Include warning in docs about polymorphism in underlying tables
-
- 06 6月, 2019 2 次提交
-
-
由 Steiley 提交于
fix typo in CHANGELOGs.
-
由 Eileen M. Uchitelle 提交于
Move schema cache to pool
-
- 05 6月, 2019 6 次提交
-
-
由 Eileen M. Uchitelle 提交于
Fixed db:prepare task for multiple databases.
-
由 Eileen M. Uchitelle 提交于
Treat ActiveRecord::Base and ApplicationRecord as "primary"
-
由 Yuji Yaginuma 提交于
Extract default log file open operation to method
-
由 Ryuta Kamizono 提交于
Fix sqlite3 collation parsing when using decimal columns.
-
由 John Hawthorn 提交于
Don't call listen with empty directory list
-
由 Kasper Timm Hansen 提交于
Fix EventedFileUpdateChecker through a symlink
-
- 04 6月, 2019 2 次提交
-
-
由 Eileen M. Uchitelle 提交于
Do not clear deprecated initializer dependencies if using classic autoloader
-
由 Cliff Pruitt 提交于
`Rails::Application::Finisher` defines a `:let_zeitwerk_take_over` initializer. This initializer is always run but it's statements are wrapped in a guard: `config.autoloader == :zeitwerk`. `Finisher` also defines a `initializer :warn_if_autoloaded` initializer with a `before: :let_zeitwerk_take_over` option which also always runs. This initializer unloads any constants autoloaded during initialization and displays a deprecation warning. This initializer does not account for `config.autoloader` being set to `:classic`. The problem is that this initializer changes the behavior of the classic autoloader. Constant autoloading from initializers is deprecated but the deprecation should not break existing applications which currently depend on autoloaded constants in initializers. This commit prevents the dependencies from being unloaded if the autoloader is not Zeitwerk. It also updates the deprecation warning, if the classic autoloader is enabled, to indicate that the constants would have been unloaded if Zeitwerk had been used.
-