title: How to test and refactor Rails Application which has already been developed?
body: <p>I joined a startup where my boss, so called Technology Head with 3 years experience has written the code and the website is running, She doesnt know testing and things are breaking apart now. 
  I have been Following TDD in my life, now I dont know how to test the RAILS APPLICATION where 50k LOC has already been written, waste code has piled up and there is no proper flow of the code at all. </p>
  
  <p>How can I unit test the existing modules?
  How can I refactor the maximum code with Test After Development approach for the existing code?
  I am going bonkers with the existing code. 
  Cant make it again, not sufficient freedom to make it again.
  Thanks in advcance</p>