This is incorrect usage of inherited_resources bang verbs. The index! resource requires a block with one argument. Ruby 1.8 silently ignores this, but Ruby 1.9 gets very upset. Only create!, update!, and destroy! may take blocks with arity 2.
'verb'! do |success, failure| is only for verbs create, update, destr…
…oy; everything else must use 'verb'! do |format|.
For search index posterity, the error this resolves is "uninitialized constant Mime::TO_ARY" (Google that string with quotes, and just one IRC thread about this perplexing error in puppet-dashboard comes up in the search results).
"uninitialized constant Mime::TO_ARY"
Finished in 44.058365 seconds
527 examples, 0 failures