<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-33982414</atom:id><lastBuildDate>Thu, 15 Dec 2011 02:48:42 +0000</lastBuildDate><title>Ruby on Sforce</title><description /><link>http://rubyonsforce.blogspot.com/</link><managingEditor>noreply@blogger.com (Oliver)</managingEditor><generator>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RubyOnSforce" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="rubyonsforce" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">RubyOnSforce</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-116553523525593299</guid><pubDate>Wed, 20 Dec 2006 14:22:00 +0000</pubDate><atom:updated>2006-12-20T15:26:57.383+01:00</atom:updated><title>Article Using the Salesforce.com API on oreillynet</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;Tony Stubblebine continues his series on how to build and distibute applications on AppExchange. He develops an application which connects comments on a blog with leads in Salesforce.com. Although he uses Perl it is an interesting read for Ruby developers.&lt;/p&gt;  &lt;p&gt;Here's the link: &lt;a href="http://www.oreillynet.com/pub/a/network/2006/11/27/using-the-salesforcecom-api.html"&gt;Using the Salesforce.com API&lt;/a&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-116553523525593299?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=KtlWOU3La0s:McXP3xKtJA4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=KtlWOU3La0s:McXP3xKtJA4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=KtlWOU3La0s:McXP3xKtJA4:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/12/article-using-salesforcecom-api-on.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-116431257197338932</guid><pubDate>Thu, 23 Nov 2006 20:01:00 +0000</pubDate><atom:updated>2006-11-23T21:09:31.996+01:00</atom:updated><title>Introduction to Salesforce.com's AppExchange on oreillynet</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;The &lt;a href="http://www.oreillynet.com/pub/a/network/2006/11/13/an-introduction-to-saleforcecoms-appexchange.html"&gt;article &lt;/a&gt;highlights various ways to customize salesforce.com and develop AppExchange applications. It is not Ruby specific but gives a good overview of how to work with salesforce.com.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.oreillynet.com/pub/a/network/2006/11/13/an-introduction-to-saleforcecoms-appexchange.html"&gt;An Introduction to Salesforce.com's AppExchange&lt;/a&gt; by Tony Stubblebine&lt;br/&gt; &lt;/p&gt;  &lt;p style="font-size:10px;text-align:right;"&gt;technorati tags:&lt;a href="http://technorati.com/tag/salesforce" rel="tag"&gt;salesforce&lt;/a&gt;, &lt;a href="http://technorati.com/tag/appexchange" rel="tag"&gt;appexchange&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-116431257197338932?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=Aw_6ltphFz8:6iLMYP_tJ-k:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=Aw_6ltphFz8:6iLMYP_tJ-k:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=Aw_6ltphFz8:6iLMYP_tJ-k:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/11/introduction-to-salesforcecoms.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-116172456224206944</guid><pubDate>Tue, 24 Oct 2006 21:09:00 +0000</pubDate><atom:updated>2006-10-24T23:16:02.250+02:00</atom:updated><title>Pragmatic Bookshelf: Payment Processing with Paypal and Ruby</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;The Pragmatic Bookshelf offers a very affordable PDF book titled &lt;a href="http://www.pragmaticprogrammer.com/titles/jfpaypal/"&gt;Payment Processing with Paypal and Ruby&lt;/a&gt;. I did not have the time to read it yet, but regarding the reputation of the Pragmatic Bookshelf it is shure worth it.&lt;/p&gt;  &lt;p&gt;From the Pragmatic Fridays Series site:&lt;/p&gt;  &lt;p&gt;"Building a top-notch web site requires a lot of technical expertise. Keeping track of changing requirements and new technologies, not to mention the competition, can keep you on your toes. Processing payments is a small, but important part of a successful site.&lt;/p&gt;  &lt;p&gt;If you're running a web site, you probably don't want to know the details of processing payments. You want to know just enough to solve your problems so you can go to production. As powerful and popular as Ruby is, there isn't much information on credit card processing.&lt;/p&gt;  &lt;p&gt;This Friday will give you enough information to make a good decision,  and enough technical know-how to implement that decision using Paypal and Ruby."&lt;/p&gt;  &lt;p style="font-size:10px;text-align:right;"&gt;technorati tags:&lt;a href="http://technorati.com/tag/paypal" rel="tag"&gt;paypal&lt;/a&gt;, &lt;a href="http://technorati.com/tag/ruby" rel="tag"&gt;ruby&lt;/a&gt;, &lt;a href="http://technorati.com/tag/pragmatic" rel="tag"&gt;pragmatic&lt;/a&gt;, &lt;a href="http://technorati.com/tag/bookshelf" rel="tag"&gt;bookshelf&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-116172456224206944?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=9w3PEoZnfuM:TqxXl1KdsDE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=9w3PEoZnfuM:TqxXl1KdsDE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=9w3PEoZnfuM:TqxXl1KdsDE:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/10/pragmatic-bookshelf-payment-processing.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-116172146293462251</guid><pubDate>Tue, 24 Oct 2006 20:17:00 +0000</pubDate><atom:updated>2006-10-24T22:24:22.970+02:00</atom:updated><title>Link to Synchronizing SalesForce and Ruby on Rails</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;I came across an article on the Clean Air Blog by Highgroove Studios. May be you are interested as well:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cleanair.highgroove.com/articles/2006/07/27/synchorizing-a-salesforce-and-ruby-on-rails-database"&gt;Synchronizing SalesForce and Ruby on Rails&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;"Highgroove Studios is working on a Salesforce-Rails application, and one of the things we have to do is synchronize a local MySQL database with Salesforce."&lt;/p&gt;  &lt;p&gt;They describe how they enhanced ActiveRecord to get the syncing done.&lt;/p&gt;  &lt;p style="font-size:10px;text-align:right;"&gt;technorati tags:&lt;a href="http://technorati.com/tag/mysql" rel="tag"&gt;mysql&lt;/a&gt;, &lt;a href="http://technorati.com/tag/salesforce" rel="tag"&gt;salesforce&lt;/a&gt;, &lt;a href="http://technorati.com/tag/rails" rel="tag"&gt;rails&lt;/a&gt;, &lt;a href="http://technorati.com/tag/ruby" rel="tag"&gt;ruby&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-116172146293462251?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=rzbtjDnUd2o:YpZ4WwH83eU:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=rzbtjDnUd2o:YpZ4WwH83eU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=rzbtjDnUd2o:YpZ4WwH83eU:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/10/link-to-synchronizing-salesforce-and.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-116001374440085992</guid><pubDate>Thu, 05 Oct 2006 01:55:00 +0000</pubDate><atom:updated>2006-10-05T04:02:24.433+02:00</atom:updated><title>Integrating PayPal payments with Ruby on Rails</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;In &lt;a href="http://www.pragmaticprogrammer.com/titles/rails/index.html"&gt;Agile Web Development with Rails&lt;/a&gt; the Pragmatic Programmers develop the Depot shopping application. The application manages a book catalog, displays the catalog to prospective buyers, manages a shopping cart and checkout. What they do not develop is payment processing after the checkout.&lt;/p&gt;  &lt;p&gt;I recently created a PayPal account to make selling stuff I do not need any more on ebay easier to handle.  What does it take to enhance the Depot application to do payment processing with PayPal?&lt;/p&gt;  &lt;p&gt;The following code is an example used to understand how PayPal works with Ruby on Rails. For real world applications please take a look at the &lt;a href="http://home.leetsoft.com/am/"&gt;Active Merchant&lt;/a&gt; library first. Of course we do not want to reeinvent the wheel!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Getting a PayPal test environment / account&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;On the &lt;a href="http://www.paypal.com/developer"&gt;PayPal Developer Network&lt;/a&gt; you can singn in to Developer Central. Here you can find among other things How-To articles, documentation and a Sandbox test environment.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Standard Checkout&lt;br/&gt; &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;On &lt;a href="https://www.paypal.com/IntegrationCenter/ic_home.html"&gt;Integration Center&lt;/a&gt; under Additional Payment Options you find a description of the Standard Checkout procedure. It works with HTML-Form code which POSTs a transaction to the PayPal site. The PayPal HTML-Form provides variables for specifying the items to check out.&lt;br/&gt; An other integration option is the Website Payments Pro SOAP API. But for the time beeing we will take a look how Website Payments Standard Simple Checkout can be used to check out the Depot application's shopping cart. The SAOP API may be a topic of an upcoming blog posts.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Task: Payment processing with PayPal&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Iteration 1: Website Payments Standard&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The goal of the iteration is to enhance the checkout page with PayPal payment processing.&lt;/p&gt;  &lt;p&gt;I will use the code of Depot application as at the end of Chapter 10 "Task E: Checkout!". At the time of this writing I have Agile Web Development with Rails 2nd Ed. available as a beta book version B1.12.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Checkout View&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;To create the form code for the PayPal button we need to iterate over the cart items and add appropriate form fields.&lt;/p&gt;  &lt;p&gt;checkout.rhtml:&lt;br/&gt; &lt;/p&gt;  &lt;CODE&gt;    &amp;lt;form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"&amp;gt;&lt;br/&gt; 	  &amp;lt;%= hidden_field_tag "cmd", "_cart" %&amp;gt;&lt;br/&gt; 	  &amp;lt;%= hidden_field_tag "upload", "1"  %&amp;gt;&lt;br/&gt; 	  &amp;lt;%= hidden_field_tag "business", "test@test.com" %&amp;gt;&lt;br/&gt; &lt;br/&gt; 	  &amp;lt;%= render(:partial =&amp;gt; "paypal_item", :collection =&amp;gt; @cart.items) %&amp;gt;&lt;br/&gt; &lt;br/&gt; &amp;lt;%= hidden_field_tag "return", "http://localhost:3000/store" %&amp;gt;&lt;br/&gt;       &amp;lt;%= submit_tag "Buy with PayPal", :class =&amp;gt; "submit" %&amp;gt;&lt;br/&gt;     &amp;lt;% end_form_tag %&amp;gt;  &lt;br/&gt; &lt;/CODE&gt;&lt;p&gt;_paypal_item.rhtml:&lt;/p&gt;  &lt;CODE&gt;&amp;lt;%= hidden_field_tag sprintf("item_name_%d", paypal_item_counter + 1), h(paypal_item.title) %&amp;gt;&lt;br/&gt; &amp;lt;%= hidden_field_tag sprintf("amount_%d", paypal_item_counter + 1), paypal_item.price %&amp;gt;&lt;br/&gt; &lt;/CODE&gt;&lt;p&gt;&lt;strong&gt;To-Do (future Iterations)&lt;br/&gt; &lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt; &lt;li&gt;On success of the PayPal payment we need to empty the cart.&lt;/li&gt; &lt;li&gt;Use &lt;a href="https://www.paypal.com/IntegrationCenter/ic_ipn.html"&gt;Instant Payment Notification&lt;/a&gt; (form field notify_url) to get PayPal payment information and store this information to the Depot database.&lt;br/&gt; &lt;/li&gt; &lt;li&gt;If the user cancels the PayPal payment we want him to proceed shoping at our site. With the &lt;CODE class="codeSample"&gt;cancel_return form field you can set &lt;/CODE&gt;&lt;CODE&gt;t&lt;/CODE&gt;he URL. PayPal redirects the user to this URL.&lt;br/&gt; &lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;strong&gt;What does it have to do with Salesforce?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Nothing in particular, but what about capturing a successful web-sale as an opportunity in salesforce.com? By the way adding buyer information as a lead or contact?&lt;/p&gt;  &lt;p&gt;What does the information flow on your e-commerce sites look like? How would you like e-commerce sites integrate with salesforce.com?&lt;/p&gt;  ion flow on your e-commerce site look like? How would you like e-commerce sites integrate with salesforce.com?&lt;p/&gt;&lt;p style="font-size:10px;text-align:right;"&gt;technorati tags:&lt;a href="http://technorati.com/tag/ruby" rel="tag"&gt;ruby&lt;/a&gt;, &lt;a href="http://technorati.com/tag/rubyonrails" rel="tag"&gt;rubyonrails&lt;/a&gt;, &lt;a href="http://technorati.com/tag/paypal" rel="tag"&gt;paypal&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-116001374440085992?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=pl6b7VndmvM:a6JDJW3c1eE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=pl6b7VndmvM:a6JDJW3c1eE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=pl6b7VndmvM:a6JDJW3c1eE:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/10/integrating-paypal-payments-with-ruby.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>9</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-115895050263225651</guid><pubDate>Fri, 22 Sep 2006 18:39:00 +0000</pubDate><atom:updated>2006-09-22T21:27:40.530+02:00</atom:updated><title>Display salesforce.com account listing with Ruby on Rails</title><description>&lt;div&gt;&lt;p&gt;I would like to show you,  how I did my first connection from Rails to salesforce.com. As an example I would like to display a listing of salesforce.com accounts on a web page.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Getting Started&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Following the instructions on &lt;a href="http://activesfdc.rubyforge.org/" title="ActiveSalesforce (ASF)" target="_blank"&gt;ActiveSalesforce (ASF)&lt;/a&gt; I installed ActiveSalesforce gem, created a Rails application and configured the application and database.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;D:\projects&amp;gt;gem install activesalesforce --include-dependencies&lt;br/&gt;&lt;br /&gt;D:\projects&amp;gt;rails sftest&lt;br/&gt;&lt;br /&gt;D:\projects&amp;gt;cd sftest&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Edit D:\projects\sftest\config\environment.rb and add the line &lt;code&gt;require_gem 'activesalesforce'&lt;/code&gt;. If you forget to require the gem you will get an error message: &lt;code&gt;database configuration specifies nonexistent activesalesforce adapter (ActiveRecord::AdapterNotFound)&lt;/code&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Edit D:\projects\sftest\config\database.yml and add your salesforce.com account information.&lt;/p&gt;&lt;br /&gt;&lt;code&gt;adapter: activesalesforce&lt;br/&gt;&lt;br /&gt;url: https://www.salesforce.com/services/Soap/u/7.0&lt;br/&gt;&lt;br /&gt;username: salesforce-username&lt;br/&gt;&lt;br /&gt;password: salesforce-password&lt;/code&gt;&lt;br /&gt;&lt;p&gt;Create module and controller.&lt;/p&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;D:\projects\sftest&amp;gt;ruby script/generate model account&lt;br/&gt;&lt;br /&gt;D:\projects\sftest&amp;gt;ruby script/generate controller account&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;p&gt;Edit D:\projects\sftest\app\controllers\account_controller.rb.&lt;/p&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;class AccountController &amp;lt; ApplicationController&lt;br/&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;scaffold :account&lt;br/&gt;&lt;br /&gt;end&lt;/code&gt;&lt;br /&gt;&lt;p&gt;Run the server and watch the result in your browser.&lt;/p&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;D:\projects\sftest&amp;gt;ruby sript/server&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;img src="http://static.flickr.com/85/249916310_ccc46394b0_m.jpg"/&gt;&lt;br/&gt;&lt;br /&gt;&lt;b&gt;Resources&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://activesfdc.rubyforge.org/" title="ActiveSalesforce (ASF)" target="_blank"&gt;ActiveSalesforce (ASF)&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.subwindow.com/wordpress/?p=26" title="SalesForce scraper using Ruby on Rails / ActiveSalesForce" target="_blank"&gt;SalesForce scraper using Ruby on Rails / ActiveSalesForce&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p style="font-size:10px;text-align:right;"&gt;technorati tags:&lt;a href="http://technorati.com/tag/rubyonrails" rel="tag"&gt;rubyonrails&lt;/a&gt;, &lt;a href="http://technorati.com/tag/rails" rel="tag"&gt;rails&lt;/a&gt;, &lt;a href="http://technorati.com/tag/activesalesforce" rel="tag"&gt;activesalesforce&lt;/a&gt;, &lt;a href="http://technorati.com/tag/salesforce" rel="tag"&gt;salesforce&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;script&gt;&lt;br /&gt;digg_url = 'http://rubyonsforce.blogspot.com/2006/09/display-salesforcecom-account-listing.html';&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script src="http://digg.com/api/diggthis.js"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-115895050263225651?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=qvyZ0XTjQB4:wFF4wCQFAXg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=qvyZ0XTjQB4:wFF4wCQFAXg:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=qvyZ0XTjQB4:wFF4wCQFAXg:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/09/display-salesforcecom-account-listing.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-115818868885731002</guid><pubDate>Wed, 13 Sep 2006 23:58:00 +0000</pubDate><atom:updated>2006-09-15T01:06:27.043+02:00</atom:updated><title>Error with mysql 2.7.1 gem</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;The last two days I was stuck tracking down the source of an error message. Running &lt;i&gt;rake db:migrate&lt;/i&gt; or accessing the admin controller of the depot application I got the error message  &lt;i&gt;undefined method `each' for #&amp;lt;Mysql:0x352d430&amp;gt;&lt;/i&gt;.&lt;/p&gt;  &lt;p&gt;I was experimenting with edge rails, Ruby 1.8.5. and MySQL 5.0.27 on Windows XP. &lt;a href="http://www.rubyonrails.org/down"&gt;rubyonrails.org&lt;/a&gt; recommends Ruby 1.8.4, but downgrading did not solve my problem.&lt;/p&gt;  &lt;p&gt;To find the cause of the error, I did a clean install of Ruby 1.8.5 and Rails gem. Then I set up a test application:&lt;/p&gt;  &lt;ol&gt;&lt;li&gt;D:\projects&amp;gt;mysqladmin -u root -p create test&lt;/li&gt; &lt;li&gt;D:\projects&amp;gt;rails test&lt;/li&gt; &lt;li&gt;Edit D:\projects\test\config\database.yml&lt;/li&gt; &lt;li&gt;D:\projects&amp;gt;rake db:migrate&lt;/li&gt; &lt;/ol&gt; &lt;p&gt;The database connection was successful and no error message came up. So where did the message come from previously?&lt;/p&gt;  &lt;p&gt;Then I remembered installing mysql 2.7.1. And yes, this is the cause!&lt;/p&gt;  &lt;p&gt;&lt;img border="0" src="http://static.flickr.com/80/243444752_8f3db54130.jpg"/&gt;&lt;/p&gt;  &lt;p&gt;Has anyone an idea why mysql 2.7.1 does not work?&lt;/p&gt;&lt;p style="font-size:10px;text-align:right;"&gt;technorati tags:&lt;a href="http://technorati.com/tag/ruby" rel="tag"&gt;ruby&lt;/a&gt;, &lt;a href="http://technorati.com/tag/rubyonrails" rel="tag"&gt;rubyonrails&lt;/a&gt;, &lt;a href="http://technorati.com/tag/rails" rel="tag"&gt;rails&lt;/a&gt;, &lt;a href="http://technorati.com/tag/mysql" rel="tag"&gt;mysql&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-115818868885731002?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=yjqTuKyUaOw:9xCePNlkFFc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=yjqTuKyUaOw:9xCePNlkFFc:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=yjqTuKyUaOw:9xCePNlkFFc:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/09/error-with-mysql-271-gem.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-115766890305226879</guid><pubDate>Thu, 07 Sep 2006 22:35:00 +0000</pubDate><atom:updated>2006-09-08T01:02:45.060+02:00</atom:updated><title>Getting started with Ruby on Rails</title><description>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;To get to know Rails, I recommend the "get exited" screencasts on &lt;a href="http://www.rubyonrails.org/screencasts"&gt;rubyonrails.org&lt;/a&gt;. Then go get it installed on your computer! I used the Windows Installer from  &lt;a href="http://rubyforge.org/frs/?group_id=167"&gt;rubyforge.org&lt;/a&gt;. This sets a good base from which you could go further by installing gems (see the download page at &lt;a href="http://www.rubyonrails.org/down"&gt;rubyonrails.org&lt;/a&gt;).&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;&lt;p&gt;Which editor to use is a very personal  decision.  Working  with the command line and notepad++ on Windows was a good start for me. The magic of IDEs often hide details, which I find important to learn and master first.&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;I personally like learning by books. I bougt a pdf copy of "Agile Web Development with Rails - second edition". Several minutea after buying online, I began reading Part I. Following along the development of the Depot Application of Part II, I liked the links between different sections of the book and of course the links to the souce code. I am not reading online all the time, so I was looking for a way to use the links to the source offline.&lt;/p&gt;  &lt;p&gt;To have the code available offline, I did download the code from the &lt;a href="http://www.pragmaticprogrammer.com/titles/rails2/code.html"&gt;Pragmatic Programmers&lt;/a&gt;,  put it in the document root of my local webserver and redirected the domain media.pragprog.com to localhost.&lt;/p&gt;  &lt;p&gt;On Windows XP put the following line in C:\windows\system32\drivers\etc\hosts:&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;127.0.0.1 localhost media.pragprog.com&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;By the way, the pdf book is really well done. Links between sections of the book and to external ressources add value. Most of the time I prefer paper books over ebooks. If all ebooks were made like this one, my preferences would possibly change.&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Halfway through the Depot Application I was looking for a more comfortable development environment. I like RadRails although it took some time to find out what configuration options to tweak and how it worked.&lt;/p&gt;  &lt;p&gt;OK. Where are we now?&lt;/p&gt;  &lt;p&gt;I have got a basic understanding of Ruby and Ruby on Rails. I could read some code and figure out what it does. So next I will have a look at some open-source applications to learn how they build their applications.&lt;br /&gt;&lt;/p&gt;  &lt;p style="font-size: 10px; text-align: right;"&gt;technorati tags:&lt;a href="http://technorati.com/tag/rubyonrails" rel="tag"&gt;rubyonrails&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-115766890305226879?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=qptY469wLs0:wrSNmsW2IEM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=qptY469wLs0:wrSNmsW2IEM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=qptY469wLs0:wrSNmsW2IEM:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/09/getting-started-with-ruby-on-rails_08.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-33982414.post-115759556317506007</guid><pubDate>Thu, 07 Sep 2006 02:13:00 +0000</pubDate><atom:updated>2006-09-07T04:20:11.133+02:00</atom:updated><title>What this is all about</title><description>I started this Blog to document my learning Ruby on Rails conntecting to Salesforce.com. I would like to play with Rails as well as Salesforce.com integration (ActiveSalesforce). You'll be able to follow my step by step actions and find links to ressources I use to get me started.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/33982414-115759556317506007?l=rubyonsforce.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=iWbnr7TesKs:Smtbe_i9Z5w:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=iWbnr7TesKs:Smtbe_i9Z5w:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/RubyOnSforce?a=iWbnr7TesKs:Smtbe_i9Z5w:UT3xtbGYFzA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/RubyOnSforce?d=UT3xtbGYFzA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://rubyonsforce.blogspot.com/2006/09/what-this-is-all-about.html</link><author>noreply@blogger.com (Oliver)</author><thr:total>0</thr:total></item></channel></rss>

