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

Make this work with Rails 4
user
```ruby
class HasStringId < ActiveRecord::Base
  self.primary_key = :id
  has_many :users
end
```
assistant