title: FormHelper and Hash as Model
body: <p>I'm trying to use Hash object like as ActiveRecord Model within FormHelper:</p>
  
  <pre><code>&lt;% hash = { :some_key =&gt; 'some_value' } %&gt;
  
  &lt;% fields_for "hash", hash do |f| %&gt;
  
    &lt;%= f.text_field :some_key %&gt;
  
  &lt;% end %&gt;
  </code></pre>
  
  <p>As far as I know, its trying to call :some_key method for hash object. I was trying to override 'send' method for Hash class but have no luck:</p>
  
  <pre><code>def send( symbol, args = [] )
    if self.has_key?( symbol )
      self[ symbol ]
    elsif self.has_key?( symbol.to_s )
      self[ symbol.to_s ]
    else
      super
    end
  end
  </code></pre>
  
  <p>Have you any ideas how could I play with this? </p>
  
  <p>Thanks for your help.</p>