What I'm saying is this:

1. attr_accessible is available to Rails 3 and lower
2. For Rails 4, if you add the gem, it is also available
3. Thus it's always available, why check for the Rails version?