|
1 |
| -### ♻️ INFO |
| 1 | +# ActiveAdmin-Mongoid |
2 | 2 |
|
3 |
| -**Official support** has started, subscribe to [activeadmin#2714](https://github.com/activeadmin/activeadmin/issues/2714) for updates! |
| 3 | +## Updates |
4 | 4 |
|
5 |
| -### ⚠️ ALERT |
| 5 | +ActiveAdmin is holding off on pulling Mongoid support into the core ActiveAdmin application. This repo was pulled into the ActiveAdmin org from previous work done by Elia Schito, and will be maintained by Nic Boie, JD Guzman, Elia Schito and other ActiveAdmin and community members. |
6 | 6 |
|
7 |
| -For the reason above **I'm no longer actively maintaining the project**. I will still accept any pull request for recent rails/mongoid/activeadmin and adding new specs. |
| 7 | +### Requirements for version 0.4.0 |
| 8 | +* Ruby 2.2.2 or greater. (Note, ruby-2.4.0 fails specs, see [this issue](https://github.com/DatabaseCleaner/database_cleaner/issues/466)) |
| 9 | +* Requires Rails 5.0.x |
| 10 | +* Mongoid 6.0.x |
| 11 | +* ActiveAdmin 1.x |
8 | 12 |
|
9 |
| ---- |
| 13 | +## Previous versions |
| 14 | +* Rails 4.x with Mongoid 5.x use branch rails4-mongoid5 |
| 15 | +* Rails 4.x with Mongoid 4.x branch rails4 |
| 16 | +* Mongoid 3.x with older versions of rails use v 0.3.0 |
10 | 17 |
|
11 |
| -# ActiveAdmin::Mongoid |
| 18 | +#### Rails 4 with |
| 19 | + |
| 20 | +## ♻️ INFO |
12 | 21 |
|
13 |
| -[](http://travis-ci.org/elia/activeadmin-mongoid) |
14 |
| -[](http://badge.fury.io/rb/activeadmin-mongoid) |
| 22 | +This gem has been brought into the ActiveAdmin org for support and maintenance. |
15 | 23 |
|
| 24 | +<!-- [](http://travis-ci.org/elia/activeadmin-mongoid) |
| 25 | +[](http://badge.fury.io/rb/activeadmin-mongoid) --> |
| 26 | + |
| 27 | +# ActiveAdmin::Mongoid |
16 | 28 |
|
17 | 29 | ActiveAdmin hacks to support Mongoid.
|
18 | 30 | Some ActiveAdmin features are disabled or not working properly:
|
19 | 31 |
|
20 | 32 | - comments are disabled by default
|
21 |
| -- filters are somehow broken |
| 33 | +- filters are somewhat broken |
22 | 34 |
|
23 | 35 | For more on Mongoid support in ActiveAdmin see [this issue](https://github.com/gregbell/active_admin/issues/26).
|
24 | 36 |
|
25 | 37 | ## Installation
|
26 | 38 |
|
27 | 39 | ### Some Gems
|
28 |
| -Add the following gems to your application's Gemfile: |
| 40 | +Add the following gems to your application's Gemfile, and lock the version: |
29 | 41 |
|
30 | 42 | ```ruby
|
31 |
| -gem 'activeadmin-mongoid' |
| 43 | +gem 'activeadmin-mongoid', '0.4.0' |
32 | 44 | ```
|
33 | 45 |
|
34 | 46 | You can safely remove the following lines, since are already activeadmin-mongoid dependencies:
|
|
0 commit comments