diff options
author | makoto kuwata <kwa@kuwata-lab.com> | 2008-05-05 09:47:05 +0000 |
---|---|---|
committer | makoto kuwata <kwa@kuwata-lab.com> | 2008-05-05 09:47:05 +0000 |
commit | 9db208853b392333e2dccaf0b684bbfeaa2f48cc (patch) | |
tree | bb4daadd05f4b8dfee2456a5e86b7be80561fbe9 /CHANGES.txt | |
parent | 64acc37f3f8236fdcb00179e8c4455f8937a4375 (diff) | |
download | erubis-9db208853b392333e2dccaf0b684bbfeaa2f48cc.tar.gz |
- [update] users-guide
- [refactor] rails_helper.rb: remove debug messages
- [change] rails_helper.rb: change 'logger.debug' to 'logger.info'
Diffstat (limited to 'CHANGES.txt')
-rw-r--r-- | CHANGES.txt | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 59aa481..5ddd148 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,10 +8,15 @@ enhancements: - | + Improved support of Ruby on Rails 2.0.2. + New class ActionView::TemplateHandlers::Erubis is defined and + registered as default handler of *.html.erb and *.rhtml. + + - | '<%% %>' and '<%%= %>' are converted into '<% %>' and '<%= %>' respectively. This is for compatibility with ERB. - ex1.rhtml + ex1.rhtml: <ul> <%% for item in @list %> <li><%%= item %></li> @@ -27,12 +32,12 @@ </ul> - | - '<%= -%>' removes tailing spaces and newlines. - This is for compatibiliy with ERB (and trim mode '-'). - '<%= =%>' also removes tailing spaces and newlines, and this is - Erubis-original enhancement (it is cooler than '<%= -%>', isn't it?). + '<%= -%>' removes tail spaces and newlines. + This is for compatibiliy with ERB when trim mode is '-'. + '<%= =%>' also removes tail spaces and newlines, and this is + Erubis-original enhancement (cooler than '<%= -%>', isn't it?). - ex2.rhtml + ex2.rhtml: <div> <%= @var -%> # or <%= @var =%> </div> @@ -53,13 +58,9 @@ - | Erubis::Eruby.load_file() now allows you to change cache filename. - eruby = Erubis::Eruby.load_file("ex3.rhtml", - :cachename=>'ex3.rhtml.cache') - - - - | - Support of Ruby on Rails 2.0.2 improved. - + ex. + eruby = Erubis::Eruby.load_file("ex3.rhtml", + :cachename=>'ex3.rhtml.cache') - release: 2.5.0 |