Sha256: f535c13c37ba9d1160809a492f1ac376478914ea502786ca3b31c00ad749d7d6

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

# notify_if_invalid

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

## Usage

```ruby
class User < ActiveRecord::Base
  notify_if_invalid

  # validations for the object
  validates_precense_of :name
end
```

## Installation

```ruby
# 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.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notify_if_invalid-0.2.0 README.md