gregbell/active_admin — pull request #2290 by josephers (2013-06-20 01:03:50+00:00)
Title: 2289- Conditionally call attr_accessible in Comments

I've wrapped the `attr_accessible` call in the Comment model to be called only when it has an `attr_accessible` method available.

I've left `permitted_params` without anything wrapped around it, assuming it won't give an error in Rails < 4.0.