Update generator to be Rails 4 compliant

The default argument workaround was originally found here: https://github.com/norman/friendly_id/pull/392