A combined Web and API Rails app