• humanoyd
  • NEWBIE
  • 0 Points
  • Member since 2011

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

is it possible that I can call a URL on the trigger of update of a certain field?

 

I have followed the instructions in the http://boards.developerforce.com/t5/Perl-PHP-Python-Ruby-Development/getting-error-when-trying-to-use-activesalesforce-adapter-on/td-p/231471

 

 
environment.rb:7: uninitialized constant Rails::Initializer(NameError)
    from
/usr/lib/ruby/gems/1.8/gems/railties-3.1.0/lib/rails/application.rb:78:in`require_environment!'
    from /usr/lib/ruby/gems/1.8/gems/railties-3.1.0/lib/rails/commands.rb:39
    from script/rails:6:in `
require'
    from script/rails:6

 

I have mad the instructions required however it is required to edit the environment.rb Here is my current version:

# Load the rails application
require
File.expand_path('../application', __FILE__)

# Initialize the rails application
Newsletter::Application.initialize!

Rails::Initializer.run do|config|
  config
.gem "asf-soap-adapter",:lib =>"activerecord-activesalesforce-adapter"
  config
.gem "asf-soap-adapter",:lib =>'asf-soap-adapter'
  config
.database_configuration_file =File.join(RAILS_ROOT,'config','salesforce.yml')
  config
.time_zone ='UTC'
end



I have followed the instructions in the http://boards.developerforce.com/t5/Perl-PHP-Python-Ruby-Development/getting-error-when-trying-to-use-activesalesforce-adapter-on/td-p/231471

 

 
environment.rb:7: uninitialized constant Rails::Initializer(NameError)
    from
/usr/lib/ruby/gems/1.8/gems/railties-3.1.0/lib/rails/application.rb:78:in`require_environment!'
    from /usr/lib/ruby/gems/1.8/gems/railties-3.1.0/lib/rails/commands.rb:39
    from script/rails:6:in `
require'
    from script/rails:6

 

I have mad the instructions required however it is required to edit the environment.rb Here is my current version:

# Load the rails application
require
File.expand_path('../application', __FILE__)

# Initialize the rails application
Newsletter::Application.initialize!

Rails::Initializer.run do|config|
  config
.gem "asf-soap-adapter",:lib =>"activerecord-activesalesforce-adapter"
  config
.gem "asf-soap-adapter",:lib =>'asf-soap-adapter'
  config
.database_configuration_file =File.join(RAILS_ROOT,'config','salesforce.yml')
  config
.time_zone ='UTC'
end