stanislaw/simple_roles — pull request #2 by robinjfisher (2012-05-10 10:32:18+00:00)
Title: Fix failing migration when using latest Rails version

The recent mass-assignment protection update to Rails causes the migration that creates the roles table to fail. The migration attempts to mass-assign the name attribute which now fails because that attribute is not explicitly white-listed in the model.

This commit directly sets the name attribute during the migration rather than attempting a mass assignment.