aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/track_back.rb
blob: 357ee37d6db0205f92b9fa483e095b93e37b725a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class Post
  class TrackBack
    def to_model
      NamedTrackBack.new
    end
  end

  class NamedTrackBack
    extend ActiveModel::Naming
  end
end