Fix: stubbing rails application & removing of rails 2 specific code