put in a rails version check for #105

sorry about the whitespace changes. let me know if you want me to get rid of it. 
(my editor removed all the extra trailing space)