- 25 8月, 2015 25 次提交
-
-
由 Aaron Patterson 提交于
We don't want to directly access the env hash
-
由 Rafael Mendonça França 提交于
minor documentation improvement [ci skip]
-
由 Aaron Patterson 提交于
Just like the other places. We need to refactor this because the code is almost identical to that in the action pack tests
-
由 Sam Auciello 提交于
-
由 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.
-
由 Rafael Mendonça França 提交于
temp files are no more require
-
由 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.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Before we were changing the state of the lookup_context for the duration of the with_layout_format block, but since we already know the formats we can just pass it explicitly. Related with 8d7ce0f2
-
由 Rafael Mendonça França 提交于
-
由 Nick Sutterer 提交于
-
由 Nick Sutterer 提交于
-
由 Robin Dupret 提交于
[ci skip] Fix migration file's timestamp
-
由 Carlos Antonio da Silva 提交于
Remove unused block arguments
-
由 Rafael Mendonça França 提交于
Remove unused variables
-
由 Rafael Mendonça França 提交于
Add `assert_nothing_raised` to make clear test case perpose
-
- 24 8月, 2015 15 次提交
-
-
由 Rafael Mendonça França 提交于
Use the PORT environment variable for rails server
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
Only nullify persisted has_one target associations
-
由 yui-knk 提交于
In rails generally migration file's timestamp is "YYYYMMDDHHMMSS".
-
由 Yves Senn 提交于
add Active Job section to instrumentation guide [ci skip]
-
由 Kasper Timm Hansen 提交于
Get rid of mocha tests in actionpack - part 1
-
由 Marcin Olichwirowicz 提交于
-
由 Yves Senn 提交于
Small fixes [ci skip]
-
由 Agis- 提交于
Since after 87d1aba3 `dependent: :destroy` callbacks on has_one assocations run *after* destroy, it is possible that a nullification is attempted on an already destroyed target: class Car < ActiveRecord::Base has_one :engine, dependent: :nullify end class Engine < ActiveRecord::Base belongs_to :car, dependent: :destroy end > car = Car.create! > engine = Engine.create!(car: car) > engine.destroy! # => ActiveRecord::ActiveRecordError: cannot update a > destroyed record In the above case, `engine.destroy!` deletes `engine` and *then* triggers the deletion of `car`, which in turn triggers a nullification of `engine.car_id`. However, `engine` is already destroyed at that point. Fixes #21223.
-
由 akihiro17 提交于
-
由 Kasper Timm Hansen 提交于
Removed Mocha from ActionView part 1
-
由 Vijay Dev 提交于
Conflicts: guides/source/security.md
-