• raygao
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Hi Everyone,

 

I am going through the Salesforce 1 App Deveoper guide and I'm running into some issues. When I get to the part where I have to create the canvas app in Salesforce and I have to add the Locations under the Canvas App Settings section I do not have the Locations they have in the Guide. I am missing Publisher and Chatter Feed. Is there a permission that I need to set that will allow me to have these locations added to the picklist? I am currently under a Devloper Org that was created before the Winter '14 release. Would that be the reason why I don't have these locations available?

 

Thanks,

I have my Rails app running like a champ locally with the REST API. However, it crashes on Heroku. I tried Quinton's code again from his omniauth-rails3-forcedotcom project and it crashes on Heroku with the same error. I've search for two days now and am finally giving up and asking for help. Here's the log from Heroku:

 

 

==> dyno-7328866.log (crash) <==
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:304:in `rescue in depend_on': No such file to load -- Accounts (LoadError)
	from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:299:in `depend_on'
	from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:216:in `require_dependency'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/engine.rb:138:in `block (2 levels) in eager_load!'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/engine.rb:137:in `each'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/engine.rb:137:in `block in eager_load!'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/engine.rb:135:in `each'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/engine.rb:135:in `eager_load!'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/application.rb:108:in `eager_load!'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/initializable.rb:25:in `instance_exec'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/initializable.rb:25:in `run'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/initializable.rb:50:in `block in run_initializers'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/initializable.rb:49:in `each'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/initializable.rb:49:in `run_initializers'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/application.rb:134:in `initialize!'
	from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.5/lib/rails/application.rb:77:in `method_missing'
	from /app/config/environment.rb:5:in `<top (required)>'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from config.ru:3:in `block (3 levels) in <main>'
	from /home/heroku_rack/heroku.ru:23:in `eval'
	from /home/heroku_rack/heroku.ru:23:in `block (3 levels) in <main>'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:63:in `new'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:63:in `map'
	from /home/heroku_rack/heroku.ru:18:in `block (2 levels) in <main>'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
	from /home/heroku_rack/heroku.ru:11:in `new'
	from /home/heroku_rack/heroku.ru:11:in `block in <main>'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
	from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
	from /home/heroku_rack/heroku.ru:1:in `new'
	from /home/heroku_rack/heroku.ru:1:in `<main>'
	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `eval'
	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `load'
	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:175:in `load_rackup_config'
	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:65:in `start'
	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:177:in `run_command'
	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:143:in `run!'
	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in `<top (required)>'
	from /usr/ruby1.9.2/bin/thin:19:in `load'
	from /usr/ruby1.9.2/bin/thin:19:in `<main>'

 

Thanks for the helping a ruby n00b out!

 

Jeff Douglas

Appirio, Inc.

http://blog.jeffdouglas.com

http://www.cloudspokes.com