Refine activerecord dependency to stop rubygems complaining.