only do the attr accessible if not Rails 4