textmate/ruby-on-rails.tmbundle — Issue #5: form_tag bundle operation returns non-working code by default
Author: tallison63
Created: 2012-01-12 15:28:28+00:00
State: open

Bundles -> Ruby on Rails -> View Templates -> form_tab (ft->|)
returns
<% form_tag(:action => "update", {:class => "users"}) do %>
which results in:

Showing /Users/tom/projects/jq_search/app/views/users/index.html.erb where line #6 raised:

/Users/tom/projects/jq_search/app/views/users/index.html.erb:6: syntax error, unexpected ')', expecting tASSOC
form_tag(:action => "update", {:class => "form"}) do
^
/Users/tom/projects/jq_search/app/views/users/index.html.erb:41: syntax error, unexpected keyword_ensure, expecting $end
Extracted source (around line #6):

6: <% form_tag(:action => "update", {:class => "form"}) do %>
7:
8: <% end -%>