Sha256: 6bf4e4e4ff4161958d5317adf458a96ff48d88e799274cdb533693bdfa8079a1

Contents?: true

Size: 142 Bytes

Versions: 10

Compression:

Stored size: 142 Bytes

Contents

class Comment < ActiveRecord::Base
  belongs_to :user

  handle_reply do |comment, user, text, files|
    Comment.create(body: text)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
replyr-0.1.0 test/dummy/app/models/comment.rb
replyr-0.0.9 test/dummy/app/models/comment.rb
replyr-0.0.8 test/dummy/app/models/comment.rb
replyr-0.0.7 test/dummy/app/models/comment.rb
replyr-0.0.6 test/dummy/app/models/comment.rb
replyr-0.0.5 test/dummy/app/models/comment.rb
replyr-0.0.4 test/dummy/app/models/comment.rb
replyr-0.0.3 test/dummy/app/models/comment.rb
replyr-0.0.2 test/dummy/app/models/comment.rb
replyr-0.0.1 test/dummy/app/models/comment.rb