Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c6adc922f9
7 lines (5 sloc) 0.147 kb
class Subscription < ActiveRecord::Base
belongs_to :rubygem
belongs_to :user
validates :rubygem_id, :uniqueness => {:scope => :user_id}
end
Jump to Line
Something went wrong with that request. Please try again.