Better rails support