rlayout 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/README +1 -1
- data/Rakefile +1 -1
- data/lib/rlayout/template.rb +1 -1
- data/lib/rlayout.rb +1 -0
- metadata +1 -1
data/CHANGELOG
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
Changes in version 0.3.1 (2008-06-16)
|
2
|
+
-------------------------------------
|
3
|
+
performance enchance, use thread local handle view binding to avoid request binding by 'send' method for each tag
|
4
|
+
|
1
5
|
Changes in version 0.3.0 (2008-06-15)
|
2
6
|
-------------------------------------
|
3
7
|
support theme template for field tag
|
data/README
CHANGED
data/Rakefile
CHANGED
data/lib/rlayout/template.rb
CHANGED
@@ -49,7 +49,7 @@ class Rlayout::TemplateUtil
|
|
49
49
|
unless key.nil?
|
50
50
|
context[:body] = str
|
51
51
|
view_context.field_context=context
|
52
|
-
str = ERB.new(get_template(key, tag_name)).result(
|
52
|
+
str = ERB.new(get_template(key, tag_name)).result(Thread.current[:rlayout][:view_binding])
|
53
53
|
view_context.field_context=nil
|
54
54
|
end
|
55
55
|
str
|
data/lib/rlayout.rb
CHANGED