Fixed a typo when removing the automatic rails factory and model specs