{"action":"created","issue":{"url":"https://api.github.com/repos/WGBH/hydradam/issues/59","labels_url":"https://api.github.com/repos/WGBH/hydradam/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/WGBH/hydradam/issues/59/comments","events_url":"https://api.github.com/repos/WGBH/hydradam/issues/59/events","html_url":"https://github.com/WGBH/hydradam/issues/59","id":69007511,"number":59,"title":"undefined method `linkedin_handle'","user":{"login":"mccalluc","id":730388,"avatar_url":"https://avatars.githubusercontent.com/u/730388?v=3","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-16T20:52:30Z","updated_at":"2015-04-21T13:50:10Z","closed_at":null,"body":"I created my user for development through the console. (Is there a better way?) In any event, if I just click on the link in the upper right, (http://localhost:3000/users/mccalluc@yahoo-dot-com), I get\r\n\r\n```\r\n Showing /Users/chuck_mccallum/.rvm/gems/ruby-2.0.0-p481/bundler/gems/sufia-bdc143943d1b/app/views/users/_social_media_info.html.erb where line #17 raised:\r\nundefined method `linkedin_handle' for #<User:0x007fd0c6698a90>\r\nExtracted source (around line #17):\r\n     <dd><%# link_to user.googleplus_handle, \"http://google.com/+#{user.googleplus_handle}\", {target:'_blank'} %></dd>\r\n     -->    \r\n     <% if !user.linkedin_handle.blank?() %>\r\n```\r\n\r\nIs this a bug? Or did I just create my user the wrong way? (Or both?) @afred or @Muraszko?"},"comment":{"url":"https://api.github.com/repos/WGBH/hydradam/issues/comments/94798855","html_url":"https://github.com/WGBH/hydradam/issues/59#issuecomment-94798855","issue_url":"https://api.github.com/repos/WGBH/hydradam/issues/59","id":94798855,"user":{"login":"mccalluc","id":730388,"avatar_url":"https://avatars.githubusercontent.com/u/730388?v=3","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T13:50:09Z","updated_at":"2015-04-21T13:50:09Z","body":"more context: It's expecting to find the attribute in `{sufia}/app/views/users/_social_media_info.html.erb`. The field is defined (indirectly) in `{sufia}/sufia-models/app/models/concerns/sufia/user.rb`:\r\n\r\n```ruby\r\n    def permitted_attributes\r\n      [:email, :login, :display_name, :address, :admin_area,\r\n        :department, :title, :office, :chat_id, :website, :affiliation,\r\n        :telephone, :avatar, :group_list, :groups_last_update, :facebook_handle,\r\n        :twitter_handle, :googleplus_handle]\r\n    end\r\n```\r\n\r\nI don't understand the flow, but if these attributes are not set, the corresponding methods are not defined, evidently? I would handle this by making the partial more robust, and perhaps seeing if the Sufia folks want to incorporate it."}}