Does anyone know where I can find a full step by step tutorial on Many
to Many Relationships with Rails or can describe the steps in
inserting data into the join tables, displaying the connections, etc…
- I don’t only need the model, but all the steps that you would use in
the MVC architecture to make it work.
I am a new to Rails and I cannot find a complete tutorial on all the
steps needed to make this work probably. I have tried a number of
different things, but a lot of the tutorials online are from 2 years
ago and a lot has changed since then.
What I am trying to do is a CRUD system that works with Many to Many
There will be 2 objects - books and authors
authors has many books
books has many authors (say more then 1 author wrote the book)
I then want to display a list of books and one of the fields I will be
pulling from the database is the authors associated with the books.
Then the same with authors.
I want to be able to insert, update, edit, delete from the ruby on
rails application, not manually from the Mysql database.