aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/track_back.rb
blob: 768c96ecf0c54a2e7a02356b0f2827cb44a24640 (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