- Revision
- 288
- Author
- mward
- Date
- 2007-07-26 14:53:28 -0500 (Thu, 26 Jul 2007)
Log Message
changed from symbol to string
Modified Paths
Diff
Modified: trunk/examples/jruby-example/src/main/ruby/foo_bar.rb (287 => 288)
--- trunk/examples/jruby-example/src/main/ruby/foo_bar.rb 2007-07-26 19:52:30 UTC (rev 287) +++ trunk/examples/jruby-example/src/main/ruby/foo_bar.rb 2007-07-26 19:53:28 UTC (rev 288) @@ -1,7 +1,7 @@ class FooBar def index - @var1 = "is cool and fast" + @var1 = "is cool and fast, right? #{foobar}" render("foobar.jspx") end @@ -14,9 +14,9 @@ end def index_two - request[:foo] = 'bar' - session[:bar] = 'foo' - session[:baz] = 'foo' + request['foo'] = 'bar' + session['bar'] = 'foo' + session['baz'] = 'foo' p session %{
To unsubscribe from this list please visit:
