Add web API with Rails.