aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template
Commit message (Collapse)AuthorAgeFilesLines
* Move require to where it's neededSantiago Pastorino2012-05-111-0/+1
|
* Minor clarification in documentation language and spellingMatthew Daubert2012-03-131-4/+4
|
* format lookup for partials is derived from the format in which the template ↵Santiago Pastorino2012-02-221-4/+0
| | | | | | is being rendered Closes #5025 part 2
* Merge pull request #5101 from ckdake/ckdake_actionview_handler_resetJosé Valim2012-02-201-0/+1
| | | | | | | Reset memoized hash keys when new ActionView::Template handler is registered Conflicts: actionpack/lib/action_view/template/handlers.rb
* updating documentation for register_template_handlerJames A. Rosen2012-02-011-8/+5
|
* Removed unused assigns from ActionView::Template::Errorbrainopia2012-01-201-2/+2
| | | | | They existed since initial rails commit by DHH but lost use a long time ago
* Change more Array.wrap to Kernel#ArrayRafael Mendonça França2012-01-051-2/+1
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-14/+10
|
* Remove some of the ActiveSupport core extensions related to 1.8.Uģis Ozols2011-12-211-1/+0
|
* Do not hard code encoding to UTF8José Valim2011-12-201-5/+1
|
* don't encode an UTF-8 encoded templateXu Pan2011-12-201-1/+1
|
* Revert accidental change from cattr_accessor to class_attribute.José Valim2011-12-081-1/+1
|
* Some small optimizations and improvements to benchmark code.José Valim2011-12-081-1/+1
|
* fix exception page when template contains utf-8 and parameters contain utf-8lest2011-11-301-1/+5
|
* Fixes for using action view template in isolation.José Valim2011-11-302-2/+11
|
* minor details revised in a gsubXavier Noria2011-08-181-1/+1
| | | | | | | | | Regexps have a construct to express alternation of characters, which is character classes. In addition to being the most specific idiom to write this pattern, it reads better without the backslashes. Also, it is better not to use a capture if none is needed. As a side-effect of these changes, the gsub is marginally faster, but speed is not the point of this commit.
* Properly escape glob characters.Aaron Patterson2011-08-161-3/+12
|
* Just remove the sort_locals methodAaron Patterson2011-08-091-12/+1
|
* the freeze trick does nothing on arrays used as hash keys.Aaron Patterson2011-08-091-2/+1
|
* use functional style to build a list of template objectsAaron Patterson2011-08-091-9/+12
|
* refactor the optimized build_query a bitAaron Patterson2011-08-081-8/+3
|
* reduce file stats by improving our dir glob patternAaron Patterson2011-08-081-1/+1
|
* hash on the template directory in order to improve cache hitsAaron Patterson2011-08-081-2/+3
|
* use meaningful names with our variablesAaron Patterson2011-08-081-6/+6
|
* use binread to read the filesAaron Patterson2011-08-081-1/+2
|
* Use shorter class-level File methods instead of going through File.stat.thedarkone2011-07-251-1/+1
|
* remove warning: assigned but unused variableSantiago Pastorino2011-06-081-1/+0
|
* corrected the ActionMailer tests which broke due to some code removed from ↵Josh Kalderimis2011-05-251-0/+1
| | | | ActionPack
* removed deprecated methods, and related tests, from ActionPackJosh Kalderimis2011-05-243-56/+0
|
* fixed some ruby 19 warnings, including circular requires and variable name reuseJosh Kalderimis2011-05-211-1/+0
|
* Optimize the most common resolver case.José Valim2011-05-091-13/+26
|
* No need for replace.José Valim2011-05-091-12/+11
|
* Added activesupport requires for Array.wrap in previously modified filesBurke Libbey2011-05-071-0/+1
|
* Remove redundant check for is_a?(String)Burke Libbey2011-05-061-1/+1
|
* Added a test for MissingTemplate change, and changed to use Array.wrap() asBurke Libbey2011-05-061-1/+1
| | | | requested by josevalim.
* Made ActionView::MissingTemplate#initialize optionally accept a single stringBurke Libbey2011-05-061-0/+1
| | | | prefix to be converted to an array as in ActionView::PathSet#find_all.
* Yo dawg, I heard you like streaming. So I put a fiber, inside a block, ↵José Valim2011-04-161-14/+4
| | | | inside a body, so you can stream.
* Buffer should be an option passed down to template rendering.José Valim2011-04-161-1/+1
|
* removes a remaining reference to .rjs in template resolver's RDocXavier Noria2011-04-131-1/+1
|
* removes the RJS template handlerXavier Noria2011-04-132-15/+0
|
* s/ERb/ERB/gAkira Matsuda2011-04-031-1/+1
| | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
* fixes a couple of regexps, the suite showed warnings about themXavier Noria2011-03-271-2/+2
| | | | | | | | | | | | | | | | | A couple of things worth mentioning here: - "{" is a metacharacter, should be escaped if it is meant to match a "{". The code worked, though, because the regexp engine is tolerant to this, but issued warnings. - gsub accepts a string as first argument. That's the best idiom to use when your pattern has no metacharacters, since gsub interprets the string as an exact substring to look for, rather than a regexp. The benefit is that your pattern is crystal clear and needs no backslashes.
* Improved resolver docs a bitJosé Valim2011-03-191-2/+10
|
* [action_view] docs for FileSystemResolverChris Kowalik2011-03-201-2/+30
|
* [action_view] added custom patterns to template resolverChris Kowalik2011-03-201-18/+49
|
* Add additional text to NotImplementedErrors [#6328 state:resolved]Mike Gehard2011-03-121-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Action Pack typos.R.T. Lechow2011-03-051-1/+1
|
* reduce string append funcallsAaron Patterson2011-02-081-3/+3
|
* Ensure render is case sensitive even on systems with case-insensitive ↵José Valim2011-02-081-3/+12
| | | | | | filesystems. This fixes CVE-2011-0449
* Merge branch 'template_error' into mergeAaron Patterson2011-01-181-4/+1
|\ | | | | | | | | | | * template_error: Ensure original exception message is present in both Template::Error#message and Template::Error#inspect. ActiveSupport::Deprecation.silence no longer needed.