Rails Application with Todo API