`to_key` was first introduced in
https://github.com/rails/rails/commit/9acd686753c43612984aaa4002e80113fda2b255

As far as I can tell, we have never actually needed to wrap the primary key
in an array and don't have its use anywhere.

Thoughts on changing this behaviour and just returning single primary field
instead?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to