- 03 5月, 2010 1 次提交
-
-
由 Justin George 提交于
More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 26 4月, 2010 1 次提交
-
-
由 David Chelimsky 提交于
- this makes it possible for other test frameworks to hook into testing facilities provided by Rails without having to subclass AC::TestCase. [#4474 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 25 4月, 2010 1 次提交
-
-
由 David Chelimsky 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 15 4月, 2010 2 次提交
-
-
由 wycats 提交于
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 09 4月, 2010 1 次提交
-
-
由 Michael Koziarski 提交于
-
- 31 3月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
-
- 28 3月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 18 3月, 2010 4 次提交
-
-
由 Carlhuda 提交于
-
由 Carlhuda 提交于
Modify assert_template to use notifications. Also, remove ActionController::Base#template since it is no longer needed.
-
由 José Valim 提交于
-
由 Carlhuda 提交于
-
- 10 3月, 2010 3 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 wycats 提交于
-
- 04 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
-
- 27 2月, 2010 1 次提交
-
-
由 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.
-
- 26 2月, 2010 2 次提交
- 22 2月, 2010 1 次提交
-
-
由 Martin Schürrer 提交于
-
- 16 1月, 2010 1 次提交
-
-
由 Joshua Peek 提交于
-
- 05 1月, 2010 3 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 13 12月, 2009 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 03 12月, 2009 1 次提交
-
-
由 Carlhuda 提交于
* A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
-
- 20 10月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 29 9月, 2009 1 次提交
-
-
由 Erik Ostrom 提交于
state:resolved] The test case now mimicks the template environment more closely, so it's possible to use render, load helper dependencies. This also fixes assert_select, and similar assertions. Because view tests and helpers generally don't render full templates assert_select looks first in rendered and then in output_buffer to find the rendered output. Additional `master'-only changes: Made the Action Pack Rakefile run the ActionView::TestCase tests, and made ActionView::Rendering#_render_text always return a string. Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 24 9月, 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!
-
- 25 7月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 08 5月, 2009 1 次提交
-
-
由 Evan Farrar 提交于
-
- 01 5月, 2009 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 09 4月, 2009 1 次提交
-
-
- 28 1月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 09 1月, 2009 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
Include process methods in ActionController::TestCase only. No need to alias_method_chain :process either.
-
- 08 1月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-