Skip to content

Instantly share code, notes, and snippets.

Lars Rottmann larsrottmann

  • inovex GmbH
  • Düsseldorf, Germany
Block or report user

Report or block larsrottmann

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@larsrottmann
larsrottmann / active_admin_mongomapper_patches.rb
Created Feb 15, 2012
Enable basic MongoMapper support in ActiveAdmin
View active_admin_mongomapper_patches.rb
# config/initializers/active_admin_mongomapper_patches.rb
require "active_admin"
require "active_admin/resource_controller"
require 'ostruct'
module ActiveAdmin
class Namespace
# Disable comments
def comments?
You can’t perform that action at this time.