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


Add Mahasiswa



<% form_for @person do |f| %>
 
   
    <%= f.text_field :nama %>
 
 
 
   

<% end %>   
TRY

change @person to @mahasiswa

thank

Komentar

Postingan populer dari blog ini

EPrT English Proficiency Test Soal - soal

cara memunculkan dan menyembunyikan icon date, time, clock, volume, network, power battery, action center pada taskbar pada Windows 7

Cara Mengurus Perpanjang SIM dan Rincian Biaya di Lumajang.