diff options
author | makoto kuwata <kwa@kuwata-lab.com> | 2009-02-18 13:06:15 +0000 |
---|---|---|
committer | makoto kuwata <kwa@kuwata-lab.com> | 2009-02-18 13:06:15 +0000 |
commit | f46bde659d786c0e74e7506ed6d710281d64e51e (patch) | |
tree | e7ebb49f44b522ebcf94a7e728cbcb3318a9ad9a | |
parent | f8ded7ae98acda83aa5a2b4e2bc7406d613c6e6c (diff) | |
download | erubis-f46bde659d786c0e74e7506ed6d710281d64e51e.tar.gz |
- [enhance] confirmed that erubis works fine on Rails 2.3
-rw-r--r-- | ChangeLog.txt | 3 | ||||
-rw-r--r-- | lib/erubis/helpers/rails_helper.rb | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index db596a8..c0640f9 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -2,6 +2,9 @@ .?lastupdate: $Date$ .?version: $Rev$ +: Rev.126 (2009-02-18) + .- [enhance] confirmed that erubis works fine on Rails 2.3 + : Rev.125 (2009-02-08) .- [enhance] Rails 2.2 support diff --git a/lib/erubis/helpers/rails_helper.rb b/lib/erubis/helpers/rails_helper.rb index 11a2595..81b8214 100644 --- a/lib/erubis/helpers/rails_helper.rb +++ b/lib/erubis/helpers/rails_helper.rb @@ -142,7 +142,7 @@ rails22 = false if ActionPack::VERSION::MAJOR >= 2 ### Rails 2.X - if ActionPack::VERSION::MINOR >=2 ### Rails 2.2 or higher + if ActionPack::VERSION::MINOR >=2 ### Rails 2.2, 2.3 or higher rails22 = true module ActionView |