I am atempting to dinamically create form elements given a certain AJAX request.
This is my setup:
View:
<%= link_to \'Next\', check_
In the view, I've found that 'view_context' does not work in Rails 3.1. Instead try 'self' when creating a FormBuilder object.
s = ActionView::Helpers::FormBuilder.new(:student, @student, self, {}, proc{})