class HasStringId < ActiveRecord::Base
  set_primary_key :id
  has_many :users
end

class HasStringId < ActiveRecord::Base
  self.primary_key = :id
  has_many :users
end

Make this work with Rails 4
Make this work with Rails 4
