Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 213 Bytes
class Track < ActiveRecord::Base
belongs_to :playlist
def as_json(*options)
{ id: id,
title: title,
album_title: album_title,
artist_name: artist_name,
rdio_id: rdio_id }
end
end