- 26 8月, 2015 7 次提交
-
-
由 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
-
由 amitkumarsuroliya 提交于
-
由 Marcin Olichwirowicz 提交于
They are already required in `actionpack/lib/action_dispatch.rb` (L25-L26)
-
- 25 8月, 2015 20 次提交
-
-
由 Marcin Olichwirowicz 提交于
This `protected` keyword looks like some leftover, since we are not using explicit receiver, this should go under `private`
-
由 NehaGautam 提交于
-
由 Marcin Olichwirowicz 提交于
-
由 Anshul Sharma 提交于
-
由 amitkumarsuroliya 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
We don't want to directly access the env hash
-
由 Aaron Patterson 提交于
I want to implement this with something besides `@env` in the future, so lets stop directly referencing it.
-
由 Aaron Patterson 提交于
superclass already has this method, so remove this one
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
the dispatcher class isn't configurable anymore, so pull up allocation to the method that needs it.
-
由 Aaron Patterson 提交于
Now that we don't have subclasses depending on this method (they augment the request class instead of the dispatch class) we can remove this method and directly ask the request object for the controller class
-
由 Aaron Patterson 提交于
We should keep the route set generation logic in one place
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
we don't need it anymore. We always use the same dispatcher in tests.
-
由 Aaron Patterson 提交于
If we subclass and augment the superclass, then we don't need to have setters for particular things on the superclass.
-
由 Gaurav Sharma 提交于
`
💅 ` -
由 Aaron Patterson 提交于
controller class resolution has been moved to the request object, so we should override that method instead of relying on the RouteSet to generate the controller class.
-
- 24 8月, 2015 11 次提交
-
-
由 Marcin Olichwirowicz 提交于
-
由 akihiro17 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
we already have a request, so we should use the methods on the request to access the path info information
-
由 Aaron Patterson 提交于
Creates fewer request objects and helps to abstract away from internals
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
try to remove dependencies on `@env` so we can have more flexible internals
-
由 Aditya Kapoor 提交于
-
- 23 8月, 2015 2 次提交
-
-
由 deepj 提交于
-
由 Ronak Jangir 提交于
May be missed in 5fe14163 commit Also fixes the broken build
-