- 07 7月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format]
-
- 05 7月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 04 7月, 2008 6 次提交
-
-
由 Michael Koziarski 提交于
Simplify the implementation of assert_redirected_to to normalise the urls before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record
-
由 Michael Koziarski 提交于
The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes.
-
由 josevalim 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Joshua Peek 提交于
-
由 Michael Koziarski 提交于
Use xhr? instead of the expensive trip through Request#accepts.
-
由 Michael Koziarski 提交于
Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial
-
- 03 7月, 2008 3 次提交
-
-
由 Tarmo Tänav 提交于
:namespace is supposed to be the module where controller exists. :path_prefix can contain anything, including variables, which makes it unsuitable for determining the module for a controller. Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Joshua Peek 提交于
-
由 Mike Subelsky 提交于
[#536 state:resolved]
-
- 02 7月, 2008 3 次提交
-
-
由 Pratik Naik 提交于
Add :as option to render a collection of partials with a custom local variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
-
由 Tim Haines 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Joshua Peek 提交于
-
- 25 6月, 2008 4 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Jimmy Baker 提交于
Patched HTML::Document#initialize call to Node.parse so that it includes the strict argument. [#330]
-
由 Jeremy Kemper 提交于
-
- 23 6月, 2008 1 次提交
-
-
由 Tammer Saleh 提交于
Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved]
-
- 18 6月, 2008 3 次提交
-
-
由 Joshua Peek 提交于
-
由 Luke Redpath 提交于
Fix url_for with no arguments when default_url_options is not explicitly defined. [#339 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Amos King 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 17 6月, 2008 1 次提交
-
-
由 Andrew Kaspick 提交于
-
- 14 6月, 2008 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Pratik Naik 提交于
-
- 13 6月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
This reverts commit 19895f08.
-
- 11 6月, 2008 3 次提交
-
-
由 Jonathan del Strother 提交于
Make ActionCaching more aware of different mimetype formats. It will now use request.format to look up the cache type, in addition to the path extension. When expiring caches, the request format no longer affects which cache is expired. Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Pratik Naik 提交于
-
由 Joshua Peek 提交于
-
- 10 6月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 09 6月, 2008 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 07 6月, 2008 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 06 6月, 2008 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 05 6月, 2008 1 次提交
-
-
由 Joshua Peek 提交于
-
- 04 6月, 2008 3 次提交
-
-
由 David Heinemeier Hansson 提交于
Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR doesnt match (not just if theyre both present) [Mark Imbriaco, Bradford Folkens]
-
由 Gabe da Silveira 提交于
[#308 state:resolved] Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 josevalim 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-