Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

socialcast/notify_if_invalid

Repository files navigation

notify_if_invalid

Record an exception in HopToad if your model object is invalid.

Usage

class User < ActiveRecord::Base
  notify_if_invalid

  # validations for the object
  validates_precense_of :name
end

Installation

# Bundler Gemfile
gem 'notify_if_invalid'

Contributing

  • Fork the project
  • Fix the issue
  • Add tests
  • Send a pull request

see CONTRIBUTORS.txt for complete list of contributors.

Copyright

Copyright (c) 2011 Socialcast Inc. See LICENSE.txt for details.

About

send notifications when model object is invalid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages