Sha256: edb46aac76ed842f08f91718a8f09f4ea592b4b23bb522e62b58cb88d156ce3a

Contents?: true

Size: 130 Bytes

Versions: 3

Compression:

Stored size: 130 Bytes

Contents

module Blogr
  class CategoriesPost < ActiveRecord::Base
    validates_uniqueness_of :category_id, :scope => [:post_id]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogr-0.0.8 app/models/blogr/categories_post.rb
blogr-0.0.7 app/models/blogr/categories_post.rb
blogr-0.0.6 app/models/blogr/categories_post.rb