Ahh ha!
I knew I was being stupid.
It's because I was using friendly_id
class User < ActiveRecord::Base
extend FriendlyId
friendly_id :slug_candidates, use: :slugged
...
def slug_candidates
[:full_name, :id]
end
end
I just moved the full_name
method back to the model and it works.