lib/markaby/rails/rails_builder.rb in markaby-0.6.6 vs lib/markaby/rails/rails_builder.rb in markaby-0.6.7
- old
+ new
@@ -5,9 +5,11 @@
@template.form_for(*args) do |__form_for_variable|
yield(FormHelperProxy.new(self, __form_for_variable))
end
end
+ alias_method :safe_concat, :concat
+
# This is used for the block variable given to form_for. Typically, an erb template looks as so:
#
# <% form_for :foo do |f|
# <%= f.text_field :bar %>
# <% end %>