aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/track_back.rb
blob: 728a022db522db95069ac4251f2fa696be2d848e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class Post
  class TrackBack
    def to_model
      NamedTrackBack.new
    end
  end

  class NamedTrackBack
    extend ActiveModel::Naming
  end
end