- 27 8月, 2015 9 次提交
-
-
由 Aaron Patterson 提交于
we always have a response object, so there is no reason to test it
-
由 Aaron Patterson 提交于
these ivars don't exist anymore, so we can remove them from the list
-
由 Aaron Patterson 提交于
since the controller always has a request on it, we can just ask the request for the content type.
-
由 Aaron Patterson 提交于
The controller instance always has an instance of a response object. We should store the status code on the response object so that it's only store in one place.
-
由 Aaron Patterson 提交于
We always have a response object in controller instances, so we can remove this conditional
-
由 Aaron Patterson 提交于
controller instances always have a response object, so we don't need to test to see if there is one, just always call to_a on the response.
-
由 Rafael Mendonça França 提交于
Removed duplicate requires
-
由 Rafael Mendonça França 提交于
Use `ActiveRecord::Migration#connection` instead of `@connection`
-
由 Ronak Jangir 提交于
-
- 26 8月, 2015 24 次提交
-
-
由 Yves Senn 提交于
Fix the unused variable warning
-
由 akihiro17 提交于
This fixes the following warning. ```ruby warning: assigned but unused variable - index_definition ```
-
由 Yves Senn 提交于
Fixed to_datetime docs [ci skip]
-
由 Ronak Jangir 提交于
-
由 Aaron Patterson 提交于
Controllers should always have a request and response when responding. Since we make this The Rule(tm), then controllers don't need to be somewhere in limbo between "asking a response object for a rack response" or "I, myself contain a rack response". This duality leads to conditionals spread through the codebase that we can delete: * https://github.com/rails/rails/blob/85a78d9358aa728298cd020cdc842b55c16f9549/actionpack/lib/action_controller/metal.rb#L221-L223
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
collect the body and make assert against the collected body
-
由 Aaron Patterson 提交于
we don't need an instance to figure out what type of response to allocate. Later we'll pull this up the stack and pass the response object down
-
由 Aaron Patterson 提交于
This saves a lambda and request allocation on each request.
-
由 Aaron Patterson 提交于
controllers should always go through the `action` class method so that their middleware is respected.
-
由 Aaron Patterson 提交于
now the caller can just treat it like a regular controller even though it will return a 404
-
由 Kasper Timm Hansen 提交于
Removed mocha from Active Record Part 1
-
由 Kasper Timm Hansen 提交于
Get rid of mocha tests in actionpack - part 2
-
由 Kasper Timm Hansen 提交于
Initial implementation of ActiveJob AsyncAdapter.
-
由 Rafael Mendonça França 提交于
Added docs for TimeWithZone [ci skip]
-
由 Jerry D'Antonio 提交于
-
由 Rafael Mendonça França 提交于
discard xml Serialization documentation that is no longer available […
-
由 Rafael Mendonça França 提交于
Remove unused requires
-
由 Rafael Mendonça França 提交于
Remove more unused block arguments
-
由 amitkumarsuroliya 提交于
-
由 Ronak Jangir 提交于
-
由 Marcin Olichwirowicz 提交于
They are already required in `actionpack/lib/action_dispatch.rb` (L25-L26)
-
由 Rafael Mendonça França 提交于
Make `assert_index` private
-
- 25 8月, 2015 7 次提交
-
-
由 Marcin Olichwirowicz 提交于
This `protected` keyword looks like some leftover, since we are not using explicit receiver, this should go under `private`
-
由 Rafael Mendonça França 提交于
Trim out least needed controllers from AP test suite
-
由 Santiago Pastorino 提交于
Make `change_column_default` to work
-
由 Rafael Mendonça França 提交于
remove unused require ‘set’
-
由 Robin Dupret 提交于
-
由 Robin Dupret 提交于
* Fixtures are loaded for all the tests by default (not only model and controller tests). * Fix a few typos and improve the markup at some levels. * Wrap changes to 80 chars [ci skip]
-
由 yui-knk 提交于
This is fix of #20018 which removes `change_column_default` from array, so `CommandRecorder#method_missing` catches `change_column_default` and @delegate's method is called. This PR * fix this bug * define `ReversibleAndIrreversibleMethods` const making clear which this array means to prevent these miss
-