Extend rails application