- 08 2月, 2016 8 次提交
-
-
由 Daniel Fox 提交于
Some existing examples used ActionCable.server.config but for configuring allowed_request_origins that is overridden in development mode. The correct place to set that is Rails.application.config.action_cable which the ActionCable initializer loads from. I thought the other two examples should be changed as well just in case a default value that would override a configured value is introduced for either log_tags or disable_request_forgery_protection in the future.
-
由 Sean Griffin 提交于
Added numeric helper into `SchemaStatements` for MySQL and PostgreSQL
-
由 Jon Moss 提交于
doc changes to clarify asset pipeline
-
由 Larry Kyrala 提交于
for rails/rails#23431 modified: guides/source/asset_pipeline.md * description of asset combination from apps and gems, e.g. jquery-rails * after @vipulnsward's related change rails/rails#23479 correction: --skip-sprockets will prevent all of these gems, not just sass-rails and uglifier modified: guides/source/working_with_javascript_in_rails.md * noted that rails.js requires the asset pipeline [ci skip]
-
由 Matthew Draper 提交于
Hand off the interlock to the new thread in AC::Live
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
由 thedarkone 提交于
-
- 07 2月, 2016 16 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 Matthew Draper 提交于
A full write-preferring wait can lead to deadlock.
-
由 Vijay Dev 提交于
Publish guide on "Using Rails for API-only Applications"
-
由 Vipul A M 提交于
Fixes #23322 [ci skip]
-
由 Vijay Dev 提交于
[ci skip]
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Mehmet Emin İNAÇ 提交于
With this addition, you can add a column into the table like: ``` create_table(:numeric_types) do |t| t.numeric :foo, precision: 10, scale: 2, default: 2.0 end ``` The result of the migration above is same with: ``` create_table(:numeric_types) do |t| t.decimal :foo, precision: 10, scale: 2, default: 2.0 end ```
-
由 Jon Moss 提交于
fix typo in `assert_enqueued_jobs` example [ci skip]
-
由 yuuji.yaginuma 提交于
-
由 thedarkone 提交于
-
由 Matthew Draper 提交于
Most importantly, the original request thread must yield its share lock while waiting for the live thread to commit -- otherwise a request's base and live threads can deadlock against each other.
-
由 Sean Griffin 提交于
MariaDB does not support JSON type
-
由 Kasper Timm Hansen 提交于
Referencing Rails.env without checking if it's defined couples us to Railties. Fix by avoiding the line breaks if we don't have an env check to rely on.
-
由 Rafael França 提交于
Remove unused private method
-
由 Syamil MJ 提交于
-
- 06 2月, 2016 16 次提交
-
-
由 Sean Griffin 提交于
Remove duplicated `require 'arel'`
-
由 Ryuta Kamizono 提交于
Fixes #22980.
-
由 Eileen M. Uchitelle 提交于
Replace old Rails greeting references
-
由 Ryuta Kamizono 提交于
It appears first in `lib/active_record.rb`.
-
由 Kasper Timm Hansen 提交于
Revert "No need to specify Ruby patch version on Travis CI"
-
由 Kasper Timm Hansen 提交于
Revert "When generating a mailer, you must specify Mailer in the class name in"
-
由 Genadi Samokovarov 提交于
A couple of the READMEs were still referring the old welcome page. This is a small change that goes over it. [ci skip]
-
由 Ryuta Kamizono 提交于
-
由 yuuji.yaginuma 提交于
This reverts commit 8417d967. In 5697bdbb and af3eb596, add mailer suffix to generated files and classes. Therefore, no longer need to specify `Mailer` to class name. [ci skip]
-
由 Aaron Patterson 提交于
-
由 Kasper Timm Hansen 提交于
Previous commit accidentally broke mixing line filters with string -n filter. Fix by checking if it is a string and returning it. We also need to ensure the -n filter carry forward into any other composite filters. Fix by letting the named filter be extractable, so we'll keep this for the next runnable's run.
-
由 Sean Griffin 提交于
This reverts commit 99801c6a. Ultimately it doesn't matter whether `add_index` or `t.index` are used in the schema dumper in any meaningful way. There are gems out there which hook into the old behavior for things like indexing materialized views. Since the reverted commit doesn't seem to add much benefit, there's no reason for us to break these gems.
-
由 Rafael França 提交于
No need to specify Ruby patch version on Travis CI
-
由 Prem Sichanugrist 提交于
Travis CI now select the latest patch version of Ruby automatically when given MAJOR.MINOR version string.
-
由 Aaron Patterson 提交于
Tests can (and do) access the database from the main thread. In this case they were starting a transaction, then making a request. The request would create a new thread, which would allocate a new database connection. Since the main thread started a transaction that contains data that the new thread wants to see, the new thread would not see it due to data visibility from transactions. Spawning the new thread in production is fine because middleware should not be doing database manipulation similar to the test harness. Before 603fe20c it was possible to set the database connection id based on a thread local, but 603fe20c changes the connection lookup code to never look at the "connection id" but only at the thread object itself. Without that indirection, we can't force threads to use the same connection pool as another thread. Fixes #23483
-