31 lines
482 B
Ruby
31 lines
482 B
Ruby
|
class Feed < ActiveRecord::Base
|
||
|
belongs_to :channel
|
||
|
|
||
|
self.include_root_in_json = false
|
||
|
end
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
# == Schema Information
|
||
|
#
|
||
|
# Table name: feeds
|
||
|
#
|
||
|
# id :integer(4) not null, primary key
|
||
|
# channel_id :integer(4)
|
||
|
# raw_data :text
|
||
|
# field1 :text
|
||
|
# field2 :text
|
||
|
# field3 :text
|
||
|
# field4 :text
|
||
|
# field5 :text
|
||
|
# field6 :text
|
||
|
# field7 :text
|
||
|
# field8 :text
|
||
|
# created_at :datetime
|
||
|
# updated_at :datetime
|
||
|
# entry_id :integer(4)
|
||
|
#
|
||
|
|