- 28 9月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 27 9月, 2010 2 次提交
-
-
由 thedarkone 提交于
-
由 Emilio Tagua 提交于
-
- 04 9月, 2010 6 次提交
-
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
There were actually 2 problems with this one: * script_name was added to options as a string and then it was used in RouteSet#url_for with usage of <<, which was changing the original script_name * the second issue was with _with_routes method. It was called in RoutesProxy to modify _routes in view_context, but url_helpers in views is just delegating it to controller, so another _with_routes call is needed there
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
It's based specifying application's script_name with: Rails.application.default_url_options = {:script_name => "/foo"} default_url_options method is delegated to routes. If router used to generate url differs from the router passed via env it always overwrites :script_name with this value.
-
- 04 7月, 2010 1 次提交
-
-
由 Wincent Colaiuta 提交于
Commit f7ba614c improved the internal consistency of the different means of accessing routes, but it introduced some problems at the level of code comments and user-visible strings. This commit applies fixes on three levels: Firstly, we remove or replace grammatically invalid constructs such as "a routes" or "a particular routes". Secondly, we make sure that we always use "the router DSL" or "the router syntax", because this has always been the official terminology. Finally, we make sure that we only use "routes" when referring to the application-specific set of routes that are defined in the "config/routes.rb" file, we use "router" when referring on a more abstract level to "the code in Rails used to handle routing", and we use "routing" when we need an adjective to apply to nouns such as "url_helpers. Again this is consistent with historical practice and other places in the documentation. Note that this is not a sweep over the entire codebase to ensure consistent usage of language; it is just a revision of the changes introduced in commit f7ba614c. Signed-off-by: NWincent Colaiuta <win@wincent.com> Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 02 7月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 08 6月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 10 3月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 05 3月, 2010 2 次提交
-
-
由 Carl Lerche 提交于
-
由 Carlhuda 提交于
Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request.
-
- 04 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 27 2月, 2010 2 次提交
- 26 2月, 2010 2 次提交
- 22 2月, 2010 1 次提交
-
-
由 Martin Schürrer 提交于
-
- 06 2月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 01 2月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 30 1月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 07 1月, 2010 1 次提交
-
-
由 José Valim 提交于
Remove duplicated url_for code and move methods shared between ActionMailer and ActionController up to AbstractController.
-
- 21 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 12 8月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
* Move #set_cookie and #delete_cookie inline to optimize. These optimizations should almost certainly be sent back upstream to Rack. The optimization involves using an ivar for cookies instead of indexing into the headers each time. * Was able to use a bare Hash for headers now that cookies have their own joining semantics (some code assumed that the raw cookies were an Array). * Cache blankness of body on body= * Improve expand_cache_key for Arrays of a single element (common in our case) * Use a simple layout condition check unless conditions are used * Cache visible actions * Lazily load the UrlRewriter * Make etag an ivar that is set on prepare!
-
- 07 8月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 16 6月, 2009 1 次提交
-
-
- 30 5月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 29 5月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
Break up DependencyModule's dual function of providing a "depend_on" DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
-
- 28 5月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
This reverts commit 0cac68d3.
-
- 27 5月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
* Removing the dependency on AD::Request and AD::Response * Moving the logic for the request and response object into a new module that is included by default. * Changing Renderer and Redirector to use self.headers, self.content_type, and self.status, which have very basic default implementations on AC::Http. When RackConvenience is included (which it is by default on AC::Base), the full Request/Response logic is used instead of the simple logic.
-
- 20 5月, 2009 1 次提交
-
-
- 12 5月, 2009 1 次提交
-
-
This reverts commit a747ab5b.
-
- 07 5月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 13 3月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-