does the join table have to be called categories_stores. when this table
was created i just called it categoriesstores (without the underscore_).
does that cause problems.
i have a button that when clicked it should look into stores table and
match the store with the category it relates to and then takes the user
to tht particular store page.
i have tried form_for and tag methods but have been useless so far.
i am quite new to ruby on rails and have been teaching myself for the
last 3 months. is it possible for you provide sum sort of code that
could help me.something which i can look at and implement into my
In general, a many-to-many relationship involves three tables. Can you
describe how you’ve done this relationship with Rails? Did you use a
has_and_belongs_to_many with a categories_stories table? Or did you
use a has_many :through association with a different through table?