README.md in sequel-devise-0.0.8 vs README.md in sequel-devise-0.0.9
- old
+ new
@@ -38,9 +38,14 @@
them in this gem, but there are some cases which are trickier. For example, Devise will call the
`save` method in the model and expect it to return false if the validation fails. This is not the
default behavior of Sequel::Model, so you'll have to change this behavior for your User classes
that are intended to be used by Devise. There are a few solutions depending on your use case:
+Please make sure you take a look at the implementation to understand which methods are added
+in order to support Devise. Particularly, for security reasons Devise will override inspect
+so that it doesn't display passwords hashes for example among other keys. If you want the
+original inspect, call `user.inspect(false)`.
+
### You expect your Sequel Models to not raise on save failure by default
Just disable the raise behavior by default:
Sequel::Model.raise_on_save_failure = false