moved comments to the bottom, they are way less intrusive there

This commit is contained in:
Sam
2013-05-24 12:48:32 +10:00
parent 2cd95bc649
commit ca2dee52db
48 changed files with 748 additions and 706 deletions

View File

@ -1,17 +1,3 @@
# == Schema Information
#
# Table name: draft_sequences
#
# id :integer not null, primary key
# user_id :integer not null
# draft_key :string(255) not null
# sequence :integer not null
#
# Indexes
#
# index_draft_sequences_on_user_id_and_draft_key (user_id,draft_key) UNIQUE
#
class DraftSequence < ActiveRecord::Base
def self.next!(user,key)
user_id = user
@ -37,3 +23,18 @@ class DraftSequence < ActiveRecord::Base
r.length.zero? ? 0 : r[0][0].to_i
end
end
# == Schema Information
#
# Table name: draft_sequences
#
# id :integer not null, primary key
# user_id :integer not null
# draft_key :string(255) not null
# sequence :integer not null
#
# Indexes
#
# index_draft_sequences_on_user_id_and_draft_key (user_id,draft_key) UNIQUE
#