I have an .html.erb file which is to print the customer details on a form. In my database table "customers" there are "User_id" filed and "creater_id" field is there. I want to print the customer_name of the customer where user_id eqaul to creater_id. How to implement it into my html file ?
Aucun commentaire:
Enregistrer un commentaire