Can't just you use:

```
has_many :authorized_tokens, :class_name => "AccessToken", :conditions => lambda { where(:revoked_at => nil) },
```

for both rails 3 and 4?