- 28 2月, 2010 9 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Jeremy Kemper 提交于
Works after all. Culprit was 226dfc26. This reverts commit 6189480b.
-
由 Jeremy Kemper 提交于
Ruby 1.9 regression. This reverts commit 76237f16.
-
由 S. Christoffer Eliesen 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
Remove the noisy lines involving AS::Dependencies from the NameError stack trace if a constant cannot be found.
-
- 27 2月, 2010 23 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Carlhuda 提交于
1.9 seems to have a bug involving cloned classes and super. Fix it by not cloning (and instead creating classes on demand). The 1.9 bug should be investigated.
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
If IntegrationSession is initialized with an objects that responds to #routes, automatically extend the URL helpers from the RouteSet onto it
-
由 Jeremy Kemper 提交于
-
由 Carlhuda 提交于
Upon further reflection, we realized that SharedTestRoutes is not really a hack, but is instead a standin (in the Rails tests) for Rails.application.routes. * In a real application, action_controller/railties.rb does AC::Base.include(app.routes.url_helpers) * ActionController itself does not know about Rails.application, but instead can have named routes for any router * SharedTestRoutes are created in abstract_unit to stand in for Rails.application.routes, and is used in internal functional tests
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
Including UrlFor in Redirecting and Head will warn usefully if a controller is wired up without a router included (and still support redirect_to "omg")
-
由 Carlhuda 提交于
Remove traces of SharedTestRoutes from user code; leave it as a standin for Rails.application.routes in Rails internal tests
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice.
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Yehuda Katz 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 26 2月, 2010 8 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Tobias Bielohlawek 提交于
fixed a 'RecordNotFound' bug when calling 'reload' on a object which doesn't met the default_scope conditions, added test [#3166 status:resolved] The reload method didn't made use of 'with_exclusive_scope' when reloading the object. This lead to a RecordNotFound exception, in case the object doesn't met the default_scope condition (anymore) - which is obviously a bug. This quick fix makes use of with_exclusive_scope in the reload method as well. See test for full example. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Dr Nic Williams 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Henry Hsu 提交于
Fix a bug where default_scope was overriding attributes given on model initialization [#3218 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Ramon Soares 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 José Valim 提交于
-