aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/blog_post.rb
blob: d289177259c76639201902c5c9b9423e62ef9618 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Blog
  def self._railtie
    Object.new
  end

  def self.table_name_prefix
    "blog_"
  end

  class Post
    extend ActiveModel::Naming
  end
end