{"action":"opened","issue":{"url":"https://api.github.com/repos/padrino/padrino-framework/issues/2024","repository_url":"https://api.github.com/repos/padrino/padrino-framework","labels_url":"https://api.github.com/repos/padrino/padrino-framework/issues/2024/labels{/name}","comments_url":"https://api.github.com/repos/padrino/padrino-framework/issues/2024/comments","events_url":"https://api.github.com/repos/padrino/padrino-framework/issues/2024/events","html_url":"https://github.com/padrino/padrino-framework/issues/2024","id":148782253,"number":2024,"title":"f.error_messages not working with Sequel","user":{"login":"plunntic","id":13694007,"avatar_url":"https://avatars.githubusercontent.com/u/13694007?v=3","gravatar_id":"","url":"https://api.github.com/users/plunntic","html_url":"https://github.com/plunntic","followers_url":"https://api.github.com/users/plunntic/followers","following_url":"https://api.github.com/users/plunntic/following{/other_user}","gists_url":"https://api.github.com/users/plunntic/gists{/gist_id}","starred_url":"https://api.github.com/users/plunntic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plunntic/subscriptions","organizations_url":"https://api.github.com/users/plunntic/orgs","repos_url":"https://api.github.com/users/plunntic/repos","events_url":"https://api.github.com/users/plunntic/events{/privacy}","received_events_url":"https://api.github.com/users/plunntic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-15T22:17:19Z","updated_at":"2016-04-15T22:17:19Z","closed_at":null,"body":"I'm not sure why is that. Sequel's `example_model.errors.count` returns proper count of errors, but:\r\n\r\n```erb\r\n<% form_for type, path, :id => 'type-form', :method => method do |f| %>\r\n\r\n  <%= f.error_messages %>\r\n\r\n  <div class=\"form-section\">\r\n    <%= f.text_field_block :key, :caption => I18n.t('shared.key_caption') %>\r\n    <%= f.text_field_block :name, :caption => I18n.t('shared.name_caption') %>\r\n  </div>\r\n\r\n  <div class=\"form-section\">\r\n    \r\n  </div>\r\n\r\n<% end %>\r\n```\r\n\r\n`<%= f.error_messages %>` does not return any html."}}