Blog::Post(Table doesn't exist)?

Well, it’s as simple as the subject says :slight_smile:

Why does…

class Blog::Post < ActiveRecord::Base

…use “posts” table and not “blog_posts”?

even though migration file has created…

create_table blog_posts do |t|


I checked the “db” file and blog_posts is created :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs