{"action":"opened","issue":{"url":"https://api.github.com/repos/oreHGA/ruby-live-blog/issues/1","repository_url":"https://api.github.com/repos/oreHGA/ruby-live-blog","labels_url":"https://api.github.com/repos/oreHGA/ruby-live-blog/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/oreHGA/ruby-live-blog/issues/1/comments","events_url":"https://api.github.com/repos/oreHGA/ruby-live-blog/issues/1/events","html_url":"https://github.com/oreHGA/ruby-live-blog/issues/1","id":388955694,"node_id":"MDU6SXNzdWUzODg5NTU2OTQ=","number":1,"title":"\"Must supply Cloudinary API key\" in post_controller","user":{"login":"canaanmerchant","id":42153363,"node_id":"MDQ6VXNlcjQyMTUzMzYz","avatar_url":"https://avatars0.githubusercontent.com/u/42153363?v=4","gravatar_id":"","url":"https://api.github.com/users/canaanmerchant","html_url":"https://github.com/canaanmerchant","followers_url":"https://api.github.com/users/canaanmerchant/followers","following_url":"https://api.github.com/users/canaanmerchant/following{/other_user}","gists_url":"https://api.github.com/users/canaanmerchant/gists{/gist_id}","starred_url":"https://api.github.com/users/canaanmerchant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canaanmerchant/subscriptions","organizations_url":"https://api.github.com/users/canaanmerchant/orgs","repos_url":"https://api.github.com/users/canaanmerchant/repos","events_url":"https://api.github.com/users/canaanmerchant/events{/privacy}","received_events_url":"https://api.github.com/users/canaanmerchant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-08T20:18:01Z","updated_at":"2018-12-08T20:18:01Z","closed_at":null,"author_association":"NONE","body":"Foloowing the [instructions](https://pusher.com/tutorials/live-blog-ruby-rails) here and have all the files written out but I get the following error when I  store the post. \r\n\r\n![must supply api_key](https://user-images.githubusercontent.com/42153363/49690268-048f4180-fafc-11e8-8b43-3e5aa3e64526.PNG)\r\n\r\nOn the blog I can't find any reference to an API key. I see it in my cloudinary.yml file and that's saved in the config directory. \r\n\r\nThe home and create pages work but they're all empty since I can't actually store anything. \r\n\r\nHere's my code for the postcontroller as well just in case it is a syntax error. \r\n\r\n`class PostController < ApplicationController\r\n  def create\r\n  end\r\n\r\n  def store\r\n    #upload image to cloudinary\r\n    @image = Cloudinary::Uploader.upload(params[:media])\r\n    #create a new post object and save to db\r\n    @post = Post.net({:title => params[:title], :text => params[:text], :author => params[:author], :media => @image['secure_url']})\r\n    @post.save\r\n    #trigger an event with pusher\r\n     if @post.save\r\n          # broadcasting posts using pusher\r\n          Pusher.trigger('posts-channel','new-post', {\r\n            id: @post.id,\r\n            title: @post.title,\r\n            media: @post.media,\r\n            body: @post.body\r\n          })\r\n        end \r\n    redirect_to('/')\r\n  end \r\nend\r\n`\r\n\r\n"}}
{"actor":{"display_login":"canaanmerchant"}}