{"action":"opened","issue":{"url":"https://api.github.com/repos/apotonick/reform/issues/314","labels_url":"https://api.github.com/repos/apotonick/reform/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/apotonick/reform/issues/314/comments","events_url":"https://api.github.com/repos/apotonick/reform/issues/314/events","html_url":"https://github.com/apotonick/reform/issues/314","id":116817808,"number":314,"title":"`validate` false positive when property name is `Object` method","user":{"login":"smathy","id":50139,"avatar_url":"https://avatars.githubusercontent.com/u/50139?v=3","gravatar_id":"","url":"https://api.github.com/users/smathy","html_url":"https://github.com/smathy","followers_url":"https://api.github.com/users/smathy/followers","following_url":"https://api.github.com/users/smathy/following{/other_user}","gists_url":"https://api.github.com/users/smathy/gists{/gist_id}","starred_url":"https://api.github.com/users/smathy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smathy/subscriptions","organizations_url":"https://api.github.com/users/smathy/orgs","repos_url":"https://api.github.com/users/smathy/repos","events_url":"https://api.github.com/users/smathy/events{/privacy}","received_events_url":"https://api.github.com/users/smathy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-13T17:59:16Z","updated_at":"2015-11-13T17:59:16Z","closed_at":null,"body":"Might not be only `Object` methods, but is definitely at least those:\r\n\r\n```ruby\r\nrequire \"reform/form/active_model/validations\"\r\nclass BadForm < Reform::Form\r\n  include Reform::Form::ActiveModel::Validations\r\n  \r\n  property :trust        # or anything from `Object.public_methods`\r\n  validates :trust, presence: true\r\nend\r\n\r\nBadForm.new(Struct.new(:trust).new).validate {}\r\n# => true\r\n```"}}