There are many use cases where the ActiveModel::Errors interface is tedious to use, such message formatting and testing. This talk presents these cases, and explains why the limitation can be simply solved by taking an object-oriented approach, which results in the AdequateErrors gem. The gem's implementation is explained, and the talk will showcase examples on how it can make your coding life easier.
Last active
January 15, 2018 16:32
-
-
Save lulalala/74d85e0a0ddef2bbdffda7fb765a204d to your computer and use it in GitHub Desktop.
abstract for RailsConf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment