<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -56,11 +56,11 @@ class Mustache
 
   # Context accessors
   def [](key)
-    context[key]
+    context[key.to_sym]
   end
 
   def []=(key, value)
-    context[key] = value
+    context[key.to_sym] = value
   end
 
   # How we turn a view object into HTML. The main method, if you will.
@@ -175,9 +175,7 @@ class Mustache
   # strings and symbols) then call methods on the view object.
   def find(name)
     name.strip!
-    if @context.has_key? name
-      @context[name]
-    elsif @context.has_key? name.to_sym
+    if @context.has_key? name.to_sym
       @context[name.to_sym]
     elsif respond_to? name
       send name</diff>
      <filename>lib/mustache.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>46617ef898c0b3cb4754ce7831a0c53ffcea7871</id>
    </parent>
  </parents>
  <author>
    <name>Nicolas Sanguinetti</name>
    <email>contacto@nicolassanguinetti.info</email>
  </author>
  <url>http://github.com/badboy/mustache/commit/4c3a6be93314788b388411a4562edecd5203c23b</url>
  <id>4c3a6be93314788b388411a4562edecd5203c23b</id>
  <committed-date>2009-10-04T11:19:27-07:00</committed-date>
  <authored-date>2009-10-04T08:30:29-07:00</authored-date>
  <message>Always keep symbols in the context

This simplifies #find a bit</message>
  <tree>0829725e7c69580495b6de28d01dccbdb68a3ccf</tree>
  <committer>
    <name>Chris Wanstrath</name>
    <email>chris@ozmm.org</email>
  </committer>
</commit>
