{"action":"closed","issue":{"url":"https://api.github.com/repos/mxabierto/consulta/issues/38","labels_url":"https://api.github.com/repos/mxabierto/consulta/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/mxabierto/consulta/issues/38/comments","events_url":"https://api.github.com/repos/mxabierto/consulta/issues/38/events","html_url":"https://github.com/mxabierto/consulta/issues/38","id":117526191,"number":38,"title":"responsible_name no me deja guardar o actualizar objetos","user":{"login":"rodowi","id":705860,"avatar_url":"https://avatars.githubusercontent.com/u/705860?v=3","gravatar_id":"","url":"https://api.github.com/users/rodowi","html_url":"https://github.com/rodowi","followers_url":"https://api.github.com/users/rodowi/followers","following_url":"https://api.github.com/users/rodowi/following{/other_user}","gists_url":"https://api.github.com/users/rodowi/gists{/gist_id}","starred_url":"https://api.github.com/users/rodowi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodowi/subscriptions","organizations_url":"https://api.github.com/users/rodowi/orgs","repos_url":"https://api.github.com/users/rodowi/repos","events_url":"https://api.github.com/users/rodowi/events{/privacy}","received_events_url":"https://api.github.com/users/rodowi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mxabierto/consulta/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"babasbot","id":764518,"avatar_url":"https://avatars.githubusercontent.com/u/764518?v=3","gravatar_id":"","url":"https://api.github.com/users/babasbot","html_url":"https://github.com/babasbot","followers_url":"https://api.github.com/users/babasbot/followers","following_url":"https://api.github.com/users/babasbot/following{/other_user}","gists_url":"https://api.github.com/users/babasbot/gists{/gist_id}","starred_url":"https://api.github.com/users/babasbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babasbot/subscriptions","organizations_url":"https://api.github.com/users/babasbot/orgs","repos_url":"https://api.github.com/users/babasbot/repos","events_url":"https://api.github.com/users/babasbot/events{/privacy}","received_events_url":"https://api.github.com/users/babasbot/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-11-18T06:48:55Z","updated_at":"2015-11-18T19:44:59Z","closed_at":"2015-11-18T19:44:59Z","body":"Probando en rails console\r\n\r\n=> #<Proposal id: 33, title: \"La Ley de Herodes\", ..., responsible_name: \"Ron Swanson\"\r\n\r\nirb(main):004:0> p.valid?\r\n  ActsAsTaggableOn::Tag Load (1.6ms)  SELECT \"tags\".* FROM \"tags\" INNER JOIN \"taggings\" ON \"tags\".\"id\" = \"taggings\".\"tag_id\" WHERE \"taggings\".\"taggable_id\" = $1 AND \"taggings\".\"taggable_type\" = $2 AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)  [[\"taggable_id\", 33], [\"taggable_type\", \"Proposal\"]]\r\n  User Load (1.4ms)  SELECT  \"users\".* FROM \"users\" WHERE \"users\".\"id\" = $1 LIMIT 1  [[\"id\", 58]]\r\n\r\n=> false\r\n\r\nirb(main):005:0> p.errors\r\n\r\n=> #<ActiveModel::Errors:0x007fb528bc6300 @base=#<Proposal id: 33, title: \"La Ley de Herodes\", ... responsible_name: nil, summary: \"La ley de Herodes es una película mexicana de 1999...\", video_url: \"\", physical_votes: 0, category: 1, closing_date: nil>, @messages={:responsible_name=>[\"no puede estar en blanco\", \"es demasiado corto (6 caracteres mínimo)\"]}>\r\nirb(main):006:0> "}}