title: How to convert form_tag in haml to erb
body: <p>Hi this is my form_tag in HAML , getting errors when I convert it to erb,</p>
  
  <pre><code>%h2 Create New Movie
  
  = form_tag movies_path, :method =&gt; :post do
  
  = label :movie, :title, 'Title'
  = text_field :movie, :title
  
  = label :movie, :rating, 'Rating'
  = select :movie, :rating, ['G','PG','PG-13','R','NC-17']
  
  = label :movie, :release_date, 'Released On'
  = date_select :movie, :release_date
  
  = submit_tag 'Save Changes'
  </code></pre>
  
  <p>Below is my erb,</p>
  
  <pre><code>&lt;h2&gt; Create New Movie &lt;/h2&gt;
  
  &lt;form action = &lt;%= "#{movies_path}"%&gt; method = "post"&gt; 
  
   &lt;%= label :movie, :title, 'Title' %&gt;
   &lt;%= text_field :movie, :title %&gt;
  
   &lt;%= label :movie, :rating, 'Rating' %&gt;
   &lt;%= select :movie, :rating, ['G','PG','PG-13','R','NC-17'] %&gt;
  
   &lt;%= label :movie, :release_date, 'Released On' %&gt;
   &lt;%= date_select :movie, :release_date %&gt;
  
   &lt;%= submit_tag 'Save Changes' %&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I am getting "can't convert Symbol into String" at around line 12.</p>