Version with rails 4.1 and large bitset support