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,17 @@
# == Schema Information
#
# Table name: keys
#
# id :integer not null, primary key
# user_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# key :text
# title :string(255)
# identifier :string(255)
# project_id :integer
#
require 'digest/md5'
class Key < ActiveRecord::Base
@ -67,18 +81,3 @@ class Key < ActiveRecord::Base
Key.where(identifier: identifier).count == 0
end
end
# == Schema Information
#
# Table name: keys
#
# id :integer not null, primary key
# user_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# key :text
# title :string(255)
# identifier :string(255)
# project_id :integer
#