gregbell/active_admin — pull request #1441 by ungsophy (2012-06-28 16:39:05+00:00)
Title: added attr_accessible to Comment

Hi Greg,

From ActiveRecord 3.2.3 onward the default value of `config.active_record.whitelist_attributes` is set to true. So when I use Active Admin 0.4.4 with Rails 3.2.5, I get mass assignment error on `Comment` model. So to fix this problem, I added `attr_accessible :resource_id, :resource_type, :body` to `Comment` model. What do you think?

Cheers,