v0.4.0
Features
- did_you_mean now suggests a similar attribute name when you misspelled it.
User.new(flrst_name: "wrong flrst name")
# => ActiveRecord::UnknownAttributeError: unknown attribute: flrst_name
#
# Did you mean? first_name: string
#
Bug Fixes
- Fixed a bug where did_you_mean doesn't work with
ActiveRecord::UnknownAttributeError