ActiveRecord::NoDatabaseError code example Example: ActiveRecord::NoDatabaseError rake db:create && rake db:migrate