- 26 8月, 2016 8 次提交
-
-
由 Guillermo Iguaran 提交于
Update `Rails.configuration` documentation
-
由 Jon Moss 提交于
[ci skip]
-
由 Jon Moss 提交于
[ci skip]
-
由 Jon Moss 提交于
Move `assert_nothing_raised` method to Rails Specific Assertions section [ci skip]
-
由 Santosh Wadghule 提交于
section [ci skip] - Method `assert_nothing_raised` is Rails' own custom assertion method and not a part of Minitest. So move it from Minitest assertions section to Rails Specific Assertions section.
-
由 Guillermo Iguaran 提交于
Fix "warning: assigned but unused variable - task"
-
由 Ryuta Kamizono 提交于
-
- 25 8月, 2016 7 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Usually users extends tests classes doing something like: ActionView::TestCase.include MyCustomTestHelpers This is bad because it will load the ActionView::TestCase right aways and this will load ActionController::Base making its on_load hooks to execute early than it should. One way to fix this is using the on_load hooks of the components like: ActiveSupport.on_load(:action_view) do ActionView::TestCase.include MyCustomTestHelpers end The problem with this approach is that the test extension will be only load when ActionView::Base is loaded and this may happen too late in the test. To fix this we are adding hooks to people extend the test classes that will be loaded exactly when the test classes are needed.
-
由 Aaron Patterson 提交于
We can eliminate a conditional by calling a different instrumentation method depending on the situation. In this case, we'll call the special case "!render_template" instrumentation method and eliminate the case / when clause from the `instrument` method.
-
由 Aaron Patterson 提交于
Ruby already does this freeze for us.
-
由 Aaron Patterson 提交于
CacheHelper is mixed in to Helpers, Helpers is mixed in to AV::Base. This means we can count on instances of AV::Base to have the "cache hit" method on them, and we can stop setting an ivar for cache logging and just ask the view if it was a cache hit.
-
由 Guillermo Iguaran 提交于
Test that AR query cache isn't busted when types are not same object
-
由 Sean Griffin 提交于
Allow the `integration_sesion` to be set early on ActionDispatch::Integration::Runner.
-
- 24 8月, 2016 8 次提交
-
-
由 James Coleman 提交于
This is fixed in 5.0 as an ancillary part of 574f2556 but here I also add a test for the condition. I'd previously backported the fix (and added a test) in the below commit; this brings the fix back up to master. (cherry picked from commit fce3dbf3)
-
由 Rafael França 提交于
Rename the title of comand_line.md in index
-
由 Rafael França 提交于
Remove over meta programming in AR::Relation
-
由 Shia 提交于
Remove 'rake tasks' from index
-
由 Rafael França 提交于
Remove unnecessary `format_string`
-
由 Rafael França 提交于
Improve 5.0 Release notes
-
由 Rafael França 提交于
remove extra … in comments
-
由 yunlei 提交于
-
- 23 8月, 2016 17 次提交
-
-
由 Shia 提交于
-
由 Shia 提交于
- Remove Duplicated explanation. - Fix some typo. - Attach PR, commit link that missed one.
-
由 Bogdan Gusiev 提交于
Introduced low level methods #set_value and #get_value for setting query attributes: relation.set_value(:where, {id: 1}) relation.get_value(:includes) Used those internally when working with relation's attributes at the abstract level
-
由 Ryuta Kamizono 提交于
`format_string` is used for standardized column types/arguments spaces. Now the standardization was removed at df84e986.
-
由 Rafael França 提交于
Remove unnecessary `any?` and `many?` methods for collection proxy
-
由 Rafael França 提交于
Improve #tag_option performance
-
由 Rafael Mendonça França 提交于
Add @queue variable to JobWrapper
-
由 Rafael França 提交于
Fix CI failure caused by df84e986
-
由 Jon Moss 提交于
Doc on scoped has_many, dependent: :destroy
-
由 Amadeus Folego 提交于
Freeze string literals and use String instead of Regex inside gsub call. This should improve performance from 20% up to 50% on most cases.
-
由 Ryuta Kamizono 提交于
-
由 David Heinemeier Hansson 提交于
Include the content of the flash in the auto-generated etag
-
由 Rafael França 提交于
Update docs with Action Cable Redis dependency
-
由 Rafael Mendonça França 提交于
Now the schema dumper by default doesn't align the types and arguments in the ruby format anymore.
-
由 Rafael Reggiani Manzo 提交于
Action Cable's test `test/subscription_adapter/redis_test.rb` fail if Redis is not installed and running. Following the guides `development_dependen there's no mention to this.
-
由 Philip Nguyen 提交于
This is to close #26111 Developers need to be aware that `dependent: :destroy` on a scoped `has_many` association would only destroy the associated objects in that scope. Potentially leaving other associated objects outside that scope untouched.
-
由 प्रथमेश Sonpatki 提交于
Remove `:action` and `:controller` segments from routing guide
-