Check for MassAssignmentSecurity constant when deciding to set attr_accessible
Check for MassAssignmentSecurity constant when deciding to set attr_accessible

ActiveRecord 4 *may* require setting attr_accessible if the 'protected_attributes' gem is installed. This changes checks for that case.
lessonnine/delayed_job_active_record,doximity/delayed_job_active_record,mavenlink/delayed_job_active_record,collectiveidea/delayed_job_active_record,trexglobal/delayed_job_active_record,morsedigital/delayed_job_active_record,amitree/delayed_job_active_record,kangkot/delayed_job_active_record,tom-asta-dev/delayed_job_active_record,TeachingChannel/delayed_job_active_record,notonthehighstreet/delayed_job_active_record,swipely/delayed_job_active_record,danhodge/delayed_job_active_record,jdelStrother/delayed_job_active_record,fstech/delayed_job_active_record,pivotaltracker/delayed_job_active_record_partitioned,CarlosCD/delayed_job_active_record