annotated

This commit is contained in:
gitlabhq 2011-10-17 18:31:21 +03:00
parent 783ca89796
commit d03f2687c5
4 changed files with 30 additions and 0 deletions

View file

@ -37,5 +37,6 @@ end
# created_at :datetime
# updated_at :datetime
# closed :boolean default(FALSE), not null
# position :integer default(0)
#

View file

@ -29,3 +29,17 @@ class Snippet < ActiveRecord::Base
]
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
# updated_at :datetime
# file_name :string(255)
#

View file

@ -38,5 +38,6 @@ end
# created_at :datetime
# updated_at :datetime
# closed :boolean default(FALSE), not null
# position :integer default(0)
#

View file

@ -14,3 +14,17 @@ describe Snippet do
it { should validate_presence_of(:content) }
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
# updated_at :datetime
# file_name :string(255)
#