Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eagletmt/activerecord-exception-adapter
ActiveRecord adapter that raises an exception when used
https://github.com/eagletmt/activerecord-exception-adapter
Last synced: 30 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-13T15:03:53.000Z (over 10 years ago)
- Last Synced: 2023-04-17T21:21:19.480Z (over 1 year 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
[![Gem Version](https://badge.fury.io/rb/activerecord-exception-adapter.svg)](http://badge.fury.io/rb/activerecord-exception-adapter)
[![Build Status](https://travis-ci.org/eagletmt/activerecord-exception-adapter.svg?branch=master)](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