- 22 5月, 2017 8 次提交
-
-
由 प्रथमेश Sonpatki 提交于
Update test link in ActionView javascripts README.md.
-
由 Josef Šimánek 提交于
[ci skip]
-
由 Akira Matsuda 提交于
[ci skip]
-
由 Robin Dupret 提交于
Simplify handling of prerequisites in Getting Started guide [ci skip]
-
由 Robin Dupret 提交于
Merge pull request #29072 from dixpac/dixpac/add_documentation_for_validate_and_callback_order_of_execution Improving docs for callbacks execution order [ci skip]
-
由 Mike Gunderloy 提交于
Telling people about prerequisites, and then telling them a page later how to check and install those prerequisites, is confusing. This commit removes the list and just handles the software installation in one place. Fixes #28565
-
由 dixpac 提交于
When define callbacks latest definition on the same callback/method overwrites previous ones.
-
由 Andrew White 提交于
Fix implicit calculations with scalars and durations
-
- 21 5月, 2017 9 次提交
-
-
由 Kasper Timm Hansen 提交于
Remove obsolete Guides source files [ci skip]
-
由 Mike Gunderloy 提交于
* Nested Model Forms guide is out of date, not linked from index, and material is covered in the Form Helpers guide. * Profiling guide was committed as an outline years ago and never actually written.
-
由 प्रथमेश Sonpatki 提交于
Fix broken external link in security guide.
-
由 Mike Gunderloy 提交于
-
-
由 Ryuta Kamizono 提交于
Fix typo in guides [ci skip]
-
由 Kevin Kim 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
- 20 5月, 2017 11 次提交
-
-
由 Andrew White 提交于
Make `VALID_DIRECTIONS` to `Set`
-
由 Andrew White 提交于
Previously calculations where the scalar is first would be converted to a duration of seconds but this causes issues with dates being converted to times, e.g: Time.zone = "Beijing" # => Asia/Shanghai date = Date.civil(2017, 5, 20) # => Mon, 20 May 2017 2 * 1.day # => 172800 seconds date + 2 * 1.day # => Mon, 22 May 2017 00:00:00 CST +08:00 Now the `ActiveSupport::Duration::Scalar` calculation methods will try to maintain the part structure of the duration where possible, e.g: Time.zone = "Beijing" # => Asia/Shanghai date = Date.civil(2017, 5, 20) # => Mon, 20 May 2017 2 * 1.day # => 2 days date + 2 * 1.day # => Mon, 22 May 2017 Fixes #29160, #28970.
-
由 Vijay Dev 提交于
Update 'Rails on Rack' guide [ci skip]
-
由 Mike Gunderloy 提交于
* Adjust middlewares list to match current defaults * application.routes runs on application object, not Rails * Add explanation of Sprockets::Rails::QuietAssets
-
由 David Heinemeier Hansson 提交于
-
由 Andrew White 提交于
Add :json type to auto_discovery_link_tag
-
由 David Heinemeier Hansson 提交于
-
由 Mike Gunderloy 提交于
This allows auto_discovery_link_tag to support the JSON Feed standard. See https://jsonfeed.org/version/1 for more information.
-
由 Kasper Timm Hansen 提交于
Fix `warning: assigned but unused variable - timestamp`
-
由 Ryuta Kamizono 提交于
```ruby require "benchmark/ips" require "set" array = [:asc, :desc, :ASC, :DESC, "asc", "desc", "ASC", "DESC"] set = array.to_set item = "DESC" Benchmark.ips do |x| x.report "array" do array.include?(item) end x.report "set" do set.include?(item) end end ``` ``` % ruby array_vs_set.rb Warming up -------------------------------------- array 188.441k i/100ms set 229.531k i/100ms Calculating ------------------------------------- array 3.508M (± 9.0%) i/s - 17.525M in 5.043058s set 5.134M (± 7.6%) i/s - 25.707M in 5.038921s ```
-
由 Ryuta Kamizono 提交于
-
- 19 5月, 2017 11 次提交
-
-
由 Alex Kitchens 提交于
Add documentation to accessors in AbstractController::Base
-
由 Akira Matsuda 提交于
Suppress `warning: assigned but unused variable - stdout`
-
由 David Heinemeier Hansson 提交于
This retains the existing behavior of ActiveSupport::Cache.expand_cache_key (as used by etaging) where the cache key includes the version.
-
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Brian Jones 提交于
-
由 Ryuta Kamizono 提交于
* Fix indentation. * Add backticks.
-
由 Jon Moss 提交于
[ci skip] explain async queue and rake tasks
-
由 Brian Jones 提交于
-
由 David Heinemeier Hansson 提交于
-
- 18 5月, 2017 1 次提交
-
-
由 Brian Jones 提交于
-