aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/template_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove dependency from _template.José Valim2011-05-011-6/+4
|
* Buffer should be an option passed down to template rendering.José Valim2011-04-161-38/+0
|
* all tests passartemave2010-12-261-2/+2
|
* Fix for ActionView::Template#refresh in rails 3.1.0.betaAndré Camargo2010-10-151-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove :cache => true on lookup templates initialization.José Valim2010-10-141-8/+0
|
* Use identifiers for template equality.José Valim2010-10-101-0/+8
|
* Clean up unused methods from AV::Base and pass in the template object on ↵José Valim2010-10-101-8/+10
| | | | rendering.
* Add expire! and rerender to the template API. This will be used by SASS ↵José Valim2010-10-101-2/+47
| | | | template handler.
* Add some unit tests to Template#refresh.José Valim2010-10-101-4/+28
|
* Deprecate old template handler API. Remove old handlers.José Valim2010-10-101-2/+2
|
* Add more docs and tests to templates.José Valim2010-10-091-0/+12
|
* Fix 1.9.2 failures.José Valim2010-10-081-4/+4
|
* Remove locals dependency from template.José Valim2010-10-071-0/+1
| | | | | | This means that templates does not need to store its source anymore, allowing us to reduce the ammount of memory taken by our Rails processes. Naively speaking, if your app/views contains 2MB of files, each of your processes (after being hit by a bunch of requests) will take 2MB less of memory after this commit. This is extremely important for the upcoming features. Since Rails will also render CSS and JS files, their source won't be stored as well allowing us to decrease the ammount of memory taken.
* Use helper method here.Emilio Tagua2010-09-281-6/+5
|
* Silence warnings here, only setting Encoding.default_external for testing.Emilio Tagua2010-09-281-2/+3
|
* Initialize @_virtual_path path ivar.Emilio Tagua2010-09-281-0/+1
|
* Move encoding settings for testing purposes to abstract_unit fileSantiago Pastorino2010-08-211-8/+1
|
* Update template to allow handlers to more cleanly handle encodings (ht: nex3)wycats2010-05-301-4/+13
|
* Make sure encoding changes don't break 1.8wycats2010-05-171-4/+6
|
* Significantly improved internal encoding heuristics and support.wycats2010-05-161-0/+128
* Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable