I am atempting to dinamically create form elements given a certain AJAX request.
This is my setup:
View:
<%= link_to \'Next\', check_
For anyone needing to build a form builder in the controller, view_context still works there. Using Rails 4.1.4:
@object = Object.new @f = ActionView::Helpers::FormBuilder.new(:object, @object, view_context, {})