hi everyone i wanna use in_place_editor_field i've installed the Plug-
in and when i'm trying to use it.
<%= in_place_editor_field :subject, :credit_hour %> i have added this
line in view part and in_place_edit_for :subject, :credit_hour line
in controller. Here :subject is model name and :credit_hour is column
in subject model. i have values 0 so i am unable to view that value to
update it.
is there anything more i have to do please help me
while i am using in_place_editor_field i am getting this error
Called id for nil, which would mistakenly be 4 -- if you really wanted the
id of nil, use object_id
Read the error and have a look at the line pointed to. Something there is nil.
Look in development.log and check that the parameters passed are correct.
Have a look at the Rails Guide on debugging to see how to debug your
code to find the problem.