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!
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 trial

pavey nganpi
1,044 Pointsrails4 simple_form error
hi guys when i try to change my form.html.erb to implement simple_form i have this error, pls help
``` ruby undefined method `simple_form_for' for #<#Class:0x3d6c2a8:0x2d12f00>
<%= simple_form_for(@status, html: {class: "form-horizontal"}) do |f| %>
<% if @status.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@status.errors.count, "error") %> prohibited this status from being saved:</h2>````
3 Answers

Mike Morales
19,833 PointsEverything looks good from here. Exit your browser to see if that fixes your issue. You can also look for any grammatical errors that you may have missed on your end. Also follow along thru the rest of the video to see if any added changes will also fix your issues. Other than that you may want to go back a few steps to see if you missed anything simple, as a period(.), question mark, curly bracket, and so on.

pavey nganpi
1,044 Pointsyh,it works but my content does go horizontal as in the video, i dont know its a bs3 stuff

Brandon Barrette
20,485 PointsI would check BS3, pretty sure they changed some of the form stuff.