Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' into filter_support

  • Loading branch information...
commit 6dfaae14db9b2f8e832fa7bb5dcdf410c935c869 2 parents 769a34c + 3bdb4f3
@lukaso lukaso authored
View
3  README.md
@@ -52,7 +52,8 @@ rails/all includes elements requiring ActiveRecord::Connection ...
Execute:
$ bundle
- $ rails g devise:install
+ $ rails g devise:install
+ $ rails g active_admin:install
Check that the generated initializers/devise.rb file requires mongoid orm.
You may find a line like this :
View
1  lib/active_admin/mongoid.rb
@@ -13,7 +13,6 @@ def setup *args, &block
require 'active_admin/mongoid/adaptor'
require 'active_admin/mongoid/comments'
- require 'active_admin/mongoid/form_builder'
require 'active_admin/mongoid/filter_form_builder'
require 'active_admin/mongoid/resource'
require 'active_admin/mongoid/document'
View
13 lib/active_admin/mongoid/form_builder.rb
@@ -1,13 +0,0 @@
-require 'active_admin/form_builder'
-
-class ActiveAdmin::FormBuilder
- def inputs(*args, &block)
- # Store that we are creating inputs without a block
- @inputs_with_block = block_given? ? true : false
- content = with_new_form_buffer do
- super
- # form_buffers.last
- end
- form_buffers.last << content.html_safe
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.