Sha256: c2adfd9b3c4e644c5f8283ef650a248b8b8a84f71f2589f0ff8cde60b8b161ad

Contents?: true

Size: 208 Bytes

Versions: 27

Compression:

Stored size: 208 Bytes

Contents

class Post
  include ActiveModel::Validations
  include ActiveModel::Validations::Callbacks

  attr_accessor :title

  validates_presence_of :title
  after_validation :report_validation_errors_to_rollbar
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rollbar-2.18.2 spec/dummyapp/app/models/post.rb
rollbar-2.18.0 spec/dummyapp/app/models/post.rb
rollbar-2.17.0 spec/dummyapp/app/models/post.rb
rollbar-2.16.4 spec/dummyapp/app/models/post.rb
rollbar-2.16.3 spec/dummyapp/app/models/post.rb
rollbar-2.16.2 spec/dummyapp/app/models/post.rb
rollbar-2.16.0 spec/dummyapp/app/models/post.rb
rollbar-2.15.6 spec/dummyapp/app/models/post.rb
rollbar-2.15.5 spec/dummyapp/app/models/post.rb
rollbar-2.15.4 spec/dummyapp/app/models/post.rb
rollbar-2.15.3 spec/dummyapp/app/models/post.rb
rollbar-2.15.2 spec/dummyapp/app/models/post.rb
rollbar-2.15.1 spec/dummyapp/app/models/post.rb
rollbar-2.15.0 spec/dummyapp/app/models/post.rb
rollbar-2.14.1 spec/dummyapp/app/models/post.rb
rollbar-2.14.0 spec/dummyapp/app/models/post.rb
rollbar-2.13.3 spec/dummyapp/app/models/post.rb
rollbar-2.13.2 spec/dummyapp/app/models/post.rb
rollbar-2.13.1 spec/dummyapp/app/models/post.rb
rollbar-2.13.0 spec/dummyapp/app/models/post.rb