- 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]
-
- 06 7月, 2008 10 次提交
-
-
由 Joshua Peek 提交于
Added local assign keys to compiled method name so two threads evaluating the same template with different locals don't step on top of each other
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
Lookup compiled methods in CompiledTemplates instance methods set instead of using a "methods_names" hash
-
由 Joshua Peek 提交于
Do not stat template files in production mode before rendering. You will no longer be able to modify templates in production mode without restarting the server
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 05 7月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 04 7月, 2008 18 次提交
-
-
由 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.
-
由 Joshua Peek 提交于
This reverts commit 42d215a9. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb
-
由 josevalim 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 miloops 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
This lets us avoid the relatively costly trip through compute_*_paths if the file already exists.
-
由 Michael Koziarski 提交于
Use xhr? instead of the expensive trip through Request#accepts.
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial
-
由 Michael Koziarski 提交于
javascript_include_tag and friends do a much better job.
-
由 Michael Koziarski 提交于
-
- 03 7月, 2008 4 次提交
-
-
由 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]
-
由 Pratik Naik 提交于
-
- 02 7月, 2008 4 次提交
-
-
由 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 提交于
-
由 Scott Stewart 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 30 6月, 2008 2 次提交
-
-
由 gbuesing 提交于
-
由 Ernie Miller 提交于
-