Skip to content

Incompatible with active_admin #29

@robotmay

Description

@robotmay

Currently experiencing the following error with every version of active_admin from 0.4.0 to current master (this exception taken while using master):

/Users/robertmay/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.0/lib/active_support/inflector/methods.rb:97:in `block in humanize': undefined method `downcase' for nil:NilClass (NoMethodError)
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.0/lib/active_support/core_ext/string/output_safety.rb:160:in `gsub'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.0/lib/active_support/core_ext/string/output_safety.rb:160:in `gsub'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.0/lib/active_support/inflector/methods.rb:97:in `humanize'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.0/lib/active_support/inflector/methods.rb:112:in `titleize'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.0/lib/active_support/core_ext/string/inflections.rb:95:in `titleize'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/resource/naming.rb:23:in `resource_label'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/resource/naming.rb:32:in `plural_resource_label'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/batch_actions/resource_extension.rb:52:in `add_default_batch_actions'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/batch_actions/resource_extension.rb:9:in `initialize'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/namespace.rb:130:in `new'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/namespace.rb:130:in `find_or_build_resource'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/namespace.rb:50:in `register'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin/application.rb:100:in `register'
    from /Users/robertmay/.rvm/gems/ruby-1.9.3-p125/bundler/gems/active_admin-c183c89f1c69/lib/active_admin.rb:74:in `register'
    from /Users/robertmay/Development/Rails/BPB/app/admin/articles.rb:1:in `<top (required)>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions