• D
    Add signed ids to Active Record (#39313) · 1a3dc42c
    David Heinemeier Hansson 提交于
    Add support for finding records based on signed ids, which are tamper-proof, verified ids that can be set to expire and scoped with a purpose. This is particularly useful for things like password reset or email verification, where you want the bearer of the signed id to be able to interact with the underlying record, but usually only within a certain time period.
    1a3dc42c
signed_id_test.rb 2.7 KB