Thanks, but it seems set in my computer, doesn't it?
I ask this question on the stackoverflow as well. Someone said :
"You just add this ENV['FACEBOOK_APP_ID'] = "yourapikey" into config/environments/development.rb or config/environments/production.rb"
I tried to add more entities. After I add more entities, I tries to add data and I got 422 status. And this is my code:
app = angular.module("newsApp", ["ngResource"]) app.factory "Post", ["$resource", ($resource) -> $resource("/posts/:id", {id: "@id"}, {update: {method: "PUT"}}) ] @NewsCtrl = ["$scope", "Post", ($scope, Post) -> $scope.posts = Post.query() $scope.addPosts = -> post = Post.save($scope.newPost) console.log(post) $scope.posts.push(post) $scope.newPost = {} ]Can I use this way?
Thanks for this episode. It's very clearly, but I have some error on this episode.
I asked on stackoverflow, but there're no one can answer me. Hope can help me. Thanks!
http://stackoverflow.com/questions/11793788/gem-koala-undefined-methods-get-object
I also met some problem .
When I put the first line
OmniAuth.config.logger = Rails.loggerin this file, I runrails s, and the terminal said:When I delete the first line
OmniAuth.config.logger = Rails.logger, it works.How can I solve this problem?
Thanks, but it seems set in my computer, doesn't it?
I ask this question on the stackoverflow as well. Someone said :
"You just add this ENV['FACEBOOK_APP_ID'] = "yourapikey" into
config/environments/development.rborconfig/environments/production.rb"What's the different?
Sorry, I'm first time to use omniauth. and have question about ENV["FACEBOOK_APP_ID"]
Should I replace FACEBOOK_APP_ID to my facebook app id, or I should set FACEBOOK_APP_ID in somewhere?