#Debugging Rails
It is a capital mistake to theorise before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts.
— A Scandal in Bohemia, 1892
##Steps for debugging
- Hypothesis - read the exception messages properly!
- Analysis - think what the program is doing, rather than what it isn't doing. What do you want it to do?