Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/say8425/devise-dynamoid
Support Dynamoid ORM and generators for Devise
https://github.com/say8425/devise-dynamoid
Last synced: about 1 month ago
JSON representation
Support Dynamoid ORM and generators for Devise
- Host: GitHub
- URL: https://github.com/say8425/devise-dynamoid
- Owner: say8425
- License: mit
- Created: 2020-07-13T11:59:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-04T11:11:01.000Z (over 1 year ago)
- Last Synced: 2024-10-31T17:25:02.385Z (3 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Devise Dynamoid
Devise only support [couple of ORM](https://github.com/heartcombo/devise#other-orms), ActiveRecord (default) and Mongoid.
This gem make support Dynamoid ORM for Devise.## Install Devise Gem
First of all, you should install [Devise](https://github.com/heartcombo/devise) gem and run devise install generator command.
Please read [Getting Started](https://github.com/heartcombo/devise#getting-started) section from Devise.## Installation
Add 'devise-dynamoid' to your application's Gemfile:```ruby
gem 'devise'
gem 'devise-dynamoid'
```Execute bundler:
```shell script
$ bundle
```Load and configure dynamoid for your devise ORM.
You can find this **ORM configuration** at `config/initializers/devise.rb:35````ruby
# ==> ORM configuration
# Load and configure the ORM. Supports :active_record (default) and
# :mongoid (bson_ext recommended) by default. Other ORMs may be
# available as additional gems.
require 'devise/orm/dynamoid'
```## Usage
Run devise model generator.
```shell script
$ rails generate dynamoid:devise MODEL
```## Contributing
Bug reports and pull requests are welcome.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).