https://github.com/eagletmt/activerecord-exception-adapter
ActiveRecord adapter that raises an exception when used
https://github.com/eagletmt/activerecord-exception-adapter
Last synced: 9 days ago
JSON representation
ActiveRecord adapter that raises an exception when used
- Host: GitHub
- URL: https://github.com/eagletmt/activerecord-exception-adapter
- Owner: eagletmt
- License: mit
- Created: 2014-08-12T12:59:56.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-13T15:03:53.000Z (almost 12 years ago)
- Last Synced: 2025-10-26T17:04:13.475Z (9 months ago)
- Language: Ruby
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ActiveRecord::ConnectionAdapters::ExceptionAdapter
[](http://badge.fury.io/rb/activerecord-exception-adapter)
[](https://travis-ci.org/eagletmt/activerecord-exception-adapter)
ActiveRecord adapter that raises an exception when used.
## Installation
Add this line to your application's Gemfile:
gem 'activerecord-exception-adapter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install activerecord-exception-adapter
## Usage
```yaml
production_unused:
adapter: exception
comment: Do NOT use production_unused!
```
## Contributing
1. Fork it ( https://github.com/eagletmt/activerecord-exception-adapter/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request