Ansh Day
Ansh Day

Reputation: 51

After starting Rails

I Started Rails and it give me this error below,

ActiveRecord::StatementInvalid in HomeController#index

Could not find table 'users'

What is this error what does it mean what do i have to to do next to get rails working.

Upvotes: 0

Views: 162

Answers (1)

apneadiving
apneadiving

Reputation: 115541

It means your database has not the proper users table.

To fix it, you have to migrate it:

bundle exec rake db:migrate

Upvotes: 4

Related Questions