Application administration is an expected part of modern web applications. In Rails, there are two main contenders for the throne of Administration engines: ActiveAdmin and RailsAdmin. I’ve been using the former for sometime and even created a couple of gems I felt would be useful. Time to give RailsAdmin a chance.
My initial impressions were that it looked better than RailsAdmin. I’m not a fan of twitter bootstrap, but its easy to customise the look and feel. A lot more than ActiveAdmin. Anyway, this is not a review of both, so let’s jump straight into creating a custom action.
I needed a custom action to allow importing of records. I didn’t expect it to be reusable at first, so I put the code directly in the rails admin initialiser.