fredwu / api_taster

A quick and easy way to visually test your Rails application's API.
http://fredwu.github.com/api_taster
727 stars 85 forks source link

Not working with Rails 4.1 (example repo provided) #58

Closed andyw8 closed 10 years ago

andyw8 commented 10 years ago

See https://github.com/andyw8/api-taster-rails-4

I used the exact configuration from the README and defined resources :users but I still get the message The following route definitions are missing from ApiTaster.routes. followed by a list of all the routes.

Here's the output of rake routes:

$ rake routes
    Prefix Verb   URI Pattern               Controller#Action
     users GET    /users(.:format)          users#index
           POST   /users(.:format)          users#create
  new_user GET    /users/new(.:format)      users#new
 edit_user GET    /users/:id/edit(.:format) users#edit
      user GET    /users/:id(.:format)      users#show
           PATCH  /users/:id(.:format)      users#update
           PUT    /users/:id(.:format)      users#update
           DELETE /users/:id(.:format)      users#destroy
api_taster        /api_taster               ApiTaster::Engine

Routes for ApiTaster::Engine:
 missing_definitions_routes GET  /routes/missing_definitions(.:format)  api_taster/routes#missing_definitions
obsolete_definitions_routes GET  /routes/obsolete_definitions(.:format) api_taster/routes#obsolete_definitions
                     routes GET  /routes(.:format)                      api_taster/routes#index
                      route GET  /routes/:id(.:format)                  api_taster/routes#show
                       root GET  /
mariochavez commented 10 years ago

@andyw8 please try with latest version 0.8.4 your issue should be fixed.