summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
author(no author) <(no author)@c9e70521-770b-0410-b9ac-ce6205b42a9f>2007-02-06 11:39:26 +0000
committer(no author) <(no author)@c9e70521-770b-0410-b9ac-ce6205b42a9f>2007-02-06 11:39:26 +0000
commit890d9eb3495a2013e29ee871678558db9f5f4d81 (patch)
tree88508ecfaafdbd5a544e48397ea9a2defe9269e9 /README.txt
parentefcdc74be5d59985a43d0a9d44adaa63c11c796a (diff)
downloaderubis-890d9eb3495a2013e29ee871678558db9f5f4d81.tar.gz
- [enhance] Ruby on Rails support improved
- [enhance] add 'contrib/action_view_base_rb.patch' - [change] license changed to MIT License - [change] '<%- -%>' support - [update] users-guide, README.txt
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt21
1 files changed, 18 insertions, 3 deletions
diff --git a/README.txt b/README.txt
index 9270b4b..c37f3b9 100644
--- a/README.txt
+++ b/README.txt
@@ -8,7 +8,7 @@ copyright:: $Copyright$
== About Erubis
Erubis is an implementation of eRuby. It has the following features.
-* Very fast, almost three times faster than ERB and even faster than eruby
+* Very fast, almost three times faster than ERB and even 10% faster than eruby
* Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript)
* Auto escaping support
* Auto trimming spaces around '<% %>'
@@ -53,6 +53,22 @@ See doc/users-guide.html for details.
+== Ruby on Rails Support
+
+Erubis supports Ruby on Rails.
+All you have to do is to add the following code into your 'config/environment.rb'
+and restart web server.
+
+ require 'erubis/helper/rails'
+ #Erubis::Helper::Rails.engine_class = Erubis::Eruby
+ #Erubis::Helper::Rails.init_properties = {}
+ #Erubis::Helper::Rails.show_src = false
+
+If Erubis::Helper::Rails.show_src is ture, Erubis prints converted Ruby code
+into log file ('log/development.log' or so). It is useful for debugging.
+
+
+
== Exploring Guide
If you are exploring Eruby, see the following class at first.
@@ -76,9 +92,8 @@ Try 'ruby erubybenchmark.rb' in benchmark directory.
== License
-LGPL version 2.1
+MIT License
-If you need looser license, please suggest me.
== Author