Sha256: ece289df299c4e9f9cba49d8e68a778800e1fc6067338cbdb743e6f284f60c22

Contents?: true

Size: 233 Bytes

Versions: 128

Compression:

Stored size: 233 Bytes

Contents

class Comment < ActiveRecord::Base
  include SocialStream::Models::Object

  validates_presence_of :text

  def _activity_parent_id=(id)
    self._relation_ids = Activity.find(id).relation_ids
    @_activity_parent_id = id
  end
end

Version data entries

128 entries across 128 versions & 4 rubygems

Version Path
social_stream-0.11.0 base/app/models/comment.rb
social_stream-base-0.9.15 app/models/comment.rb
social_stream-0.10.4 base/app/models/comment.rb
social_stream-base-0.9.14 app/models/comment.rb
social_stream-0.10.3 base/app/models/comment.rb
social_stream-base-0.9.13 app/models/comment.rb
social_stream-0.10.2 base/app/models/comment.rb
social_stream-base-0.9.12 app/models/comment.rb
social_stream-0.10.1 base/app/models/comment.rb
social_stream-0.10.0 base/app/models/comment.rb
social_stream-base-0.9.11 app/models/comment.rb
social_stream-0.9.7 base/app/models/comment.rb
social_stream-base-0.9.10 app/models/comment.rb
social_stream-0.9.6 base/app/models/comment.rb
social_stream-base-0.9.9 app/models/comment.rb
social_stream-0.9.5 base/app/models/comment.rb
social_stream-base-0.9.8 app/models/comment.rb
social_stream-0.9.4 base/app/models/comment.rb
social_stream-0.9.3 base/app/models/comment.rb
social_stream-base-0.9.7 app/models/comment.rb