ruby on rails NoMethodError in User#new
Showing app/views/mahasiswa/new.html.erb where line #3 raised:
Extracted source (around line #3):
undefined method `mahasiswas_path' for #
Extracted source (around line #3):
1: Add Mahasiswa
2:
3: <% form_for (@mahasiswa) do |f| %>
4:
5:
6: <%= f.text_field :nama %>
TRY..
<% form_for(@mahasiswa) do |f| %>
Should be
<% form_for(:mahasiswa) do |f| %>
good luck
Komentar
Posting Komentar
terimakasih komentarnya