The instructions are: In the routes file, create a route that maps the URL /messages to the Messages controller’s index action.
This is the code that codecadamy gave me because I had done it wrong so many times:
Rails.application.routes.draw do
get '/messages' => 'messages#index'
I keep getting this error: /var/lib/gems/2.0.0/gems/activerecord-4.1.1/lib/active_record/migration.rb:389:in `check_pending!’: (ActiveRecord::PendingMigrationError)
Thanks! After typing it right it let me know that for some reason the bundle install didn’t work the first time so that was throwing everything off. It’s working now.