mirror of
https://github.com/github/rails.git
synced 2026-01-09 22:58:09 -05:00
11 lines
149 B
Ruby
11 lines
149 B
Ruby
class Post
|
|
class TrackBack
|
|
def to_model
|
|
NamedTrackBack.new
|
|
end
|
|
end
|
|
|
|
class NamedTrackBack
|
|
extend ActiveModel::Naming
|
|
end
|
|
end |