I'm new in Ruby and follow the coder-manual course
I have this error NameError Rails in Controller NameError in ContactsController#new uninitialized constant ContactsController::Contact
here is my Contacts_controller.rb
class ContactsController < ApplicationController
def new
@contact = Contact.new
end
def create
end
end
and my view in folder app -> views -> contacts -> new.html.erb
<div class="row">
<%= form_for @contact do |f| %>
<% end %>
</div>
What am I missing ?
Contact? - Andrey Deineko