Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMichael Farley
Courses Plus Student 481 PointsActionView uninitialized constant
I'm following along with the video. Right now I've created the class:
class BootstrapFormBuilder < ActionView::Helpers::FormBuilder
include ActionView::Helpers::TagHelper
include ActionView::Helpers::CaptureHelper
include ActionView::Helpers::TextHelper
attr_accessor :output_buffer
end
And then I updated one of my views:
<%= form_for(organization_type, builder: BootstrapFormBuilder) do |f| %>...
When I reload the page, I now get this:
NameError in OrganizationTypes#new
uninitialized constant ActionView::CompiledTemplates::BootstrapFormBuilder