i have a recipe table
id
recipe_title
diet_id
meal_id
I have set up the associations and can create, edit and delete recipes
no problem.
I have set up navigation with a list of diets for example low carb,
high fibre which when clicked shows all the recipes with that type of
diet. I then display a list of meals, breakast, lunch, dinner snack etc.
I'm unsure how to do the select in the controller/model so that only
breakfast for that diet are shown
Can anyone give me some pointers as to how to proceed.
regards
Martin