You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using padrino 0.11.0 with DataMapper and noticed that f.error_messages always states there are validation errors on the new Resource, but does not specify the exact errors.
2 errors prohibited this Discovery from being saved
There were problems with the following fields:
The text was updated successfully, but these errors were encountered:
OK I see, datamapper has a somewhat annoying issue where errors.size returns 2 even though there's no errors. Switching to count fixes it. @postmodern can you confirm on edge?
* upstream/master:
have plugin generator respect root option
Fix very strange bug with form_for and capture_html @ujifgcpadrino#1177
[padrino-core/rake] Adds lib as a load_path for rake tasks padrino#1185
[form_helpers] Use count instead of size (Closespadrino#1184)
[format_helpers] Mark escaped text as html_safe (Closespadrino#1183)
Closespadrino#1179 for accidental appended extensions for js urls
format activerecord migrate
formatting activerecord migration test
Thanks to @kenkeiter for bringing up the fact that http_router [is missing PATCH](https://github.com/joshbuddy/http_router/blob/master/lib/http_router/route.rb#L5).
Using padrino 0.11.0 with DataMapper and noticed that
f.error_messages
always states there are validation errors on the new Resource, but does not specify the exact errors.The text was updated successfully, but these errors were encountered: