• Tan Le's avatar
    Fix deprecation warning in ActiveModel::Errors · efd546a0
    Tan Le authored
    From the deprecation warning:
    
    > Enumerating ActiveModel::Errors as a hash has been deprecated. In
    > Rails 6.1, `errors` is an array of Error objects, therefore it should
    > be accessed by a block with a single block parameter
    efd546a0
form_helper.rb 3.91 KB