Conditionally use attr_accessible to support Rails 4
Support cases where worker_class is a String
Version 0.0.7