mirror of
https://github.com/github/rails.git
synced 2026-01-14 17:18:04 -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 |