From 95c23b2f974ec15e89cd7e762c80af0fa0ce57a5 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 19 Nov 2012 21:24:05 +0300 Subject: Annotated. schema updated --- app/models/snippet.rb | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'app/models/snippet.rb') diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 3525219e709..997c19bdb6b 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -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 -# - -- cgit v1.2.1