Commit d03f2687c596b5a2453e0e27918dd0628682a785
1 parent
783ca897
Exists in
master
and in
4 other branches
annotated
Showing
4 changed files
with
30 additions
and
0 deletions
Show diff stats
app/models/issue.rb
app/models/snippet.rb
... | ... | @@ -29,3 +29,17 @@ class Snippet < ActiveRecord::Base |
29 | 29 | ] |
30 | 30 | end |
31 | 31 | end |
32 | +# == Schema Information | |
33 | +# | |
34 | +# Table name: snippets | |
35 | +# | |
36 | +# id :integer not null, primary key | |
37 | +# title :string(255) | |
38 | +# content :text | |
39 | +# author_id :integer not null | |
40 | +# project_id :integer not null | |
41 | +# created_at :datetime | |
42 | +# updated_at :datetime | |
43 | +# file_name :string(255) | |
44 | +# | |
45 | + | ... | ... |
spec/models/issue_spec.rb
spec/models/snippet_spec.rb
... | ... | @@ -14,3 +14,17 @@ describe Snippet do |
14 | 14 | it { should validate_presence_of(:content) } |
15 | 15 | end |
16 | 16 | end |
17 | +# == Schema Information | |
18 | +# | |
19 | +# Table name: snippets | |
20 | +# | |
21 | +# id :integer not null, primary key | |
22 | +# title :string(255) | |
23 | +# content :text | |
24 | +# author_id :integer not null | |
25 | +# project_id :integer not null | |
26 | +# created_at :datetime | |
27 | +# updated_at :datetime | |
28 | +# file_name :string(255) | |
29 | +# | |
30 | + | ... | ... |