Sha256: 2ceabd6b962889538947e677d22ffe7fdbd275efeea5b6f38491e4094ab0a999

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

class Post < ActiveRecord::Base
  include AllowSettingIdOnCreate

  belongs_to :topic
  belongs_to :author, :class_name => 'User'

  has_defaults :trashed => false
  
  EdgeRider::Util.define_scope self, :these, lambda { |array| { :conditions => { :id => array } } }

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
edge_rider-0.3.1 spec/shared/app_root/app/models/post.rb
edge_rider-0.3.0 spec/shared/app_root/app/models/post.rb