title: Ruby on Rails - is many-to-many relation needed?
body: <p>Im quite new to Ruby on Rails, I've only completed Michael Hart <a href="http://railstutorial.org" rel="nofollow noreferrer">railstutorial.org</a> and now with tutorial as a base of my new project I'm working on simple electronic prescription service.
  What I feel very confused about is many-to-many relations in RoR and it would be nice to avoid them but I am not sure if thats possible with functionality that I need.</p>
  
  <p>Here is my basic EER with relations table that is going to connect prescription with medicines that it should include. </p>
  
  <p><img src="https://i.stack.imgur.com/UPR51.png" alt="enter image description here"></p>
  
  <p>I would much appreciate any ideas about how to simplify this one, or maybe it's not really that hard to implement?</p>