Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Commit

Permalink
[#18] Remove annotate_models generated Schema Information
Browse files Browse the repository at this point in the history
This rapidly becomes out of date and doesn't belong in the source.
  • Loading branch information
Philip Hale committed Sep 1, 2013
1 parent 86ca20b commit 42da367
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 207 deletions.
17 changes: 0 additions & 17 deletions app/admin/articles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,3 @@
end

end
# == Schema Information
#
# Table name: articles
#
# id :integer not null, primary key
# updated :datetime
# title :string(255)
# content :text
# created_at :datetime not null
# updated_at :datetime not null
# category :string(255)
# content_type :integer
# preview :text
# contact_id :integer
# tags :text
# service_url :string(255)
#
19 changes: 0 additions & 19 deletions app/admin/users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,3 @@


end
# == Schema Information
#
# Table name: users
#
# id :integer not null, primary key
# email :string(255) default(""), not null
# encrypted_password :string(255) default(""), not null
# reset_password_token :string(255)
# reset_password_sent_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default(0)
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string(255)
# last_sign_in_ip :string(255)
# created_at :datetime not null
# updated_at :datetime not null
# admin :boolean
#
30 changes: 0 additions & 30 deletions app/models/article.rb
Original file line number Diff line number Diff line change
Expand Up @@ -290,33 +290,3 @@ def qm_after_destroy
handle_asynchronously :qm_after_destroy

end



# == Schema Information
#
# Table name: articles
#
# id :integer not null, primary key
# updated :datetime
# title :string(255)
# content :text
# created_at :datetime not null
# updated_at :datetime not null
# content_type :string(255)
# preview :text
# contact_id :integer
# tags :text
# service_url :string(255)
# is_published :boolean default(FALSE)
# slug :string(255)
# category_id :integer
# access_count :integer default(0)
# author_pic_file_name :string(255)
# author_pic_content_type :string(255)
# author_pic_file_size :integer
# author_pic_updated_at :datetime
# author_name :string(255)
# author_link :string(255)
#

13 changes: 0 additions & 13 deletions app/models/category.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,3 @@ def set_access_count_if_nil
end

end
# == Schema Information
#
# Table name: categories
#
# id :integer not null, primary key
# name :string(255)
# access_count :integer
# created_at :datetime not null
# updated_at :datetime not null
# article_id :integer
# description :text
#

16 changes: 0 additions & 16 deletions app/models/contact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,3 @@ class Contact < ActiveRecord::Base
has_many :articles

end
# == Schema Information
#
# Table name: contacts
#
# id :integer not null, primary key
# name :string(255)
# subname :string(255)
# number :string(255)
# url :string(255)
# address :string(255)
# department :string(255)
# description :text
# created_at :datetime not null
# updated_at :datetime not null
#

13 changes: 0 additions & 13 deletions app/models/keyword.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,3 @@ def analyse
end

end
# == Schema Information
#
# Table name: keywords
#
# id :integer not null, primary key
# name :string(255)
# metaphone :string(255)
# stem :string(255)
# synonyms :text
# created_at :datetime not null
# updated_at :datetime not null
#

22 changes: 0 additions & 22 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,3 @@ def make_roles_exclusive
end

end
# == Schema Information
#
# Table name: users
#
# id :integer not null, primary key
# email :string(255) default(""), not null
# encrypted_password :string(255) default(""), not null
# reset_password_token :string(255)
# reset_password_sent_at :datetime
# remember_created_at :datetime
# sign_in_count :integer default(0)
# current_sign_in_at :datetime
# last_sign_in_at :datetime
# current_sign_in_ip :string(255)
# last_sign_in_ip :string(255)
# created_at :datetime not null
# updated_at :datetime not null
# is_moderator :boolean
# is_admin :boolean default(FALSE)
# is_editor :boolean default(FALSE)
# department_id

12 changes: 0 additions & 12 deletions app/models/wordcount.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,3 @@ def set_count_if_nil
end

end
# == Schema Information
#
# Table name: wordcounts
#
# id :integer not null, primary key
# article_id :integer
# keyword_id :integer
# count :integer
# created_at :datetime not null
# updated_at :datetime not null
#

27 changes: 0 additions & 27 deletions spec/models/article_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,30 +85,3 @@
#end
#end

# == Schema Information
#
# Table name: articles
#
# id :integer not null, primary key
# updated :datetime
# title :string(255)
# content :text
# created_at :datetime not null
# updated_at :datetime not null
# content_type :string(255)
# preview :text
# contact_id :integer
# tags :text
# service_url :string(255)
# is_published :boolean default(FALSE)
# slug :string(255)
# category_id :integer
# access_count :integer default(0)
# author_pic_file_name :string(255)
# author_pic_content_type :string(255)
# author_pic_file_size :integer
# author_pic_updated_at :datetime
# author_name :string(255)
# author_link :string(255)
#

13 changes: 0 additions & 13 deletions spec/models/category_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,3 @@


end
# == Schema Information
#
# Table name: categories
#
# id :integer not null, primary key
# name :string(255)
# access_count :integer
# created_at :datetime not null
# updated_at :datetime not null
# article_id :integer
# description :text
#

13 changes: 0 additions & 13 deletions spec/models/keyword_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,3 @@
its(:synonyms) { should eq(["illustration", "instance", "representative", "model", "exemplar", "good example", "deterrent example", "lesson", "object lesson", "case", "exercise", "admonition", "happening", "ideal", "information", "internal representation", "mental representation", "monition", "natural event", "occurrence", "occurrent", "representation", "warning", "word of advice"]) }
end
end
# == Schema Information
#
# Table name: keywords
#
# id :integer not null, primary key
# name :string(255)
# metaphone :string(255)
# stem :string(255)
# synonyms :text
# created_at :datetime not null
# updated_at :datetime not null
#

12 changes: 0 additions & 12 deletions spec/models/wordcount_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,3 @@


end
# == Schema Information
#
# Table name: wordcounts
#
# id :integer not null, primary key
# article_id :integer
# keyword_id :integer
# count :integer
# created_at :datetime not null
# updated_at :datetime not null
#

0 comments on commit 42da367

Please sign in to comment.