You need to sign in to do that
Don't have an account?
NBlasgen
Ruby on Rails: Is a Web Tab possible?
I've worked with PHP for years and the PHP process is easy. I'm migrating my app over to Ruby on Rails, expecting that I can support all the things I expected with PHP but at least I can't find any documentation to support that.
So simple question, via a Web Tab I can pass Session ID and Partner API URL. Can this at all be used with the Ruby Gem designed by Salesforce way back in 2011?
Salesforce, with their ownership of Ruby on Rails site Heroku doesn't have any documentation about how to connect with an application knowing the Session ID. My VisualForce code, as far as I can tell, wouldn't be able to authenicate the user with the remote Ruby on Rails server either since there's no way to use OAuth via Visual Force, though I can get Session ID and Partner URL via Visual Force.
So simple question, via a Web Tab I can pass Session ID and Partner API URL. Can this at all be used with the Ruby Gem designed by Salesforce way back in 2011?
Salesforce, with their ownership of Ruby on Rails site Heroku doesn't have any documentation about how to connect with an application knowing the Session ID. My VisualForce code, as far as I can tell, wouldn't be able to authenicate the user with the remote Ruby on Rails server either since there's no way to use OAuth via Visual Force, though I can get Session ID and Partner URL via Visual Force.
All Answers
gem 'resque-scheduler', '~> 2.5.5'
gem 'resque-web', require: 'resque_web'
Resque.redis = "127.0.0.1:6379" # tell Resque where redis lives
# This will "normally" make the tabs show up.
require 'resque_scheduler' # the one provided on the README doesn't exist 'resque-scheduler'
require 'resque_scheduler/server' # the one provided on the README doesn't exist 'resque/scheduler/server'