mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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 |