hi all,
i have created one booking.rhtml in my requesition model and used
scaffold to generate other .rhtml files.
in booking.rhtml the submit_to_remote is working fine but in _form.rhtml
it is not working…
i tried to print some text for that ajax action. i think not even the
control goes to the controller…
my code is…
Hi use breakpoint like this
def get_patient_details
breakpoint
render :text => “Patient Details here…”
end
and in the console write in the directory
ruby script\breakpointer
then you can know whether its coming to controller or not by running and
then checking the console
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.