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 trial

Ruby

NoMethodError in Statuses#new, Simple Form.

Hi Everyone!

I'm following along with the "Build a Simple Ruby on Rails Application" course. After adding Simple Form to my Gemfile and running, bundle install I made some changes to my _form.html.erb file.

From this:

<%= form_for(@status) do |f| %>

To this:

<%= simple_form_for(@status) do |f| %>

After that I got this error, it only happens on /statuses/new.

Does anybody know what is going on?

Thanks for your help!

-Chase

1 Answer

Never mind. I just had to restart my server. :disappointed: