ruby on rails RuntimeError in User#new Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
That is error at object table
look my sintak error
<% form_for @person do |f| %>
<%= f.text_field :nama %>
<% end %>
TRY
change @person to @mahasiswa
thank
look my sintak error
Add Mahasiswa
<% form_for @person do |f| %>
<%= f.text_field :nama %>
<% end %>
TRY
change @person to @mahasiswa
thank
Komentar
Posting Komentar
terimakasih komentarnya