Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emancu/ork-contrib

All the Ork plugins together
https://github.com/emancu/ork-contrib

Last synced: 24 days ago
JSON representation

All the Ork plugins together

Awesome Lists containing this project

README

        

ork-contrib
===========

All the Ork plugins together

## List of Plugins

- [ork-hooks](https://github.com/emancu/ork-hooks)
- [ork-encryption](https://github.com/emancu/ork-encryption)
- [ork-timestamps](https://github.com/emancu/ork-timestamps)

## Contrib scope

`ork-contrib` will add those plugins which are frequently used and do not change persistence.

When you add `ork-contrib` to your dependencies file, and your code the following gems will be added:

- [ork-hooks](https://github.com/emancu/ork-hooks)
- [ork-timestamps](https://github.com/emancu/ork-timestamps)

## Getting started

Add `Ork::Contrib` to add all the _plugins_ to your `Ork` models.

```ruby
class Post
include Ork::Document
include Ork::Contrib
end
```

Now, `Post` has timestamps attributes and the common hooks.