Annotated. schema updated

This commit is contained in:
Dmitriy Zaporozhets 2012-11-19 21:24:05 +03:00
parent c3b074acab
commit 95c23b2f97
34 changed files with 365 additions and 359 deletions

View file

@ -1,3 +1,18 @@
# == Schema Information
#
# Table name: snippets
#
# id :integer not null, primary key
# title :string(255)
# content :text
# author_id :integer not null
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# file_name :string(255)
# expires_at :datetime
#
class Snippet < ActiveRecord::Base
include Linguist::BlobHelper
@ -48,19 +63,3 @@ class Snippet < ActiveRecord::Base
expires_at && expires_at < Time.current
end
end
# == Schema Information
#
# Table name: snippets
#
# id :integer not null, primary key
# title :string(255)
# content :text
# author_id :integer not null
# project_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# file_name :string(255)
# expires_at :datetime
#