<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Corner of the Web</title>
	<atom:link href="http://bob-roberts.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://bob-roberts.net</link>
	<description>Ruby on Rails and http://rebel-outpost.com</description>
	<lastBuildDate>Thu, 16 May 2013 19:46:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bob-roberts.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/829e5e05bfef6782080b03e5f12bc251?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>My Corner of the Web</title>
		<link>http://bob-roberts.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bob-roberts.net/osd.xml" title="My Corner of the Web" />
	<atom:link rel='hub' href='http://bob-roberts.net/?pushpress=hub'/>
		<item>
		<title>Making Unicorn behave&#8230;.</title>
		<link>http://bob-roberts.net/2013/05/01/make-the-unicorns-behave/</link>
		<comments>http://bob-roberts.net/2013/05/01/make-the-unicorns-behave/#comments</comments>
		<pubDate>Wed, 01 May 2013 22:59:25 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Sudo]]></category>
		<category><![CDATA[Unicorn]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/?p=996</guid>
		<description><![CDATA[This one had me going for a bit so I figured that I would share my solution&#8230;.. I am using git-deploy for one of my clients for their two servers.  It is quite similar to Capistrano but I like it &#8230; <a href="http://bob-roberts.net/2013/05/01/make-the-unicorns-behave/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=996&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This one had me going for a bit so I figured that I would share my solution&#8230;..</p>
<p>I am using <a href="https://github.com/mislav/git-deploy">git-deploy</a> for one of my clients for their two servers.  It is quite similar to <a class="zem_slink" title="Capistrano" href="http://https://github.com/capistrano/capistrano/wiki" target="_blank" rel="homepage">Capistrano</a> but I like it better.</p>
<p>The <a href="https://github.com/mislav/git-deploy">git-deploy</a> uses 3 files for deployment; after_push, before_restart, and restart.  I needed to restart Unicorn after deployments but found that I could not do so without using sudo and the password for the user.  This didn&#8217;t work in the &#8220;restart&#8221; file so I found myself manually restarting Unicorn after every deploy.  Pain in the ass&#8230;&#8230;</p>
<p>First run &#8220;<a class="zem_slink" title="Sudo" href="http://www.sudo.ws" target="_blank" rel="homepage">visudo</a>&#8221; from the server command line.  It may require using sudo first.  Then I added:</p>
<pre>&lt;server_name&gt; ALL=NOPASSWD: /etc/init.d/unicorn restart, /etc/init.d/unicorn stop, /etc/init.d/unicorn start</pre>
<p>This gave the &lt;server_user&gt; the privilege to run sudo  /etc/init.d/unicorn restart without having to enter the password.</p>
<p>So I just needed to add run &#8220;sudo /etc/init.d/unicorn restart&#8221; to the git-deploy &#8220;restart file&#8221;</p>
<h6 class="zemanta-related-title" style="font-size:1em;">Related articles</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://multiplethreads.wordpress.com/2013/04/16/setting-up-nginx-with-unicorn-for-rails/" target="_blank">Setting up Nginx with Unicorn for Rails</a> (multiplethreads.wordpress.com)</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobspython.wordpress.com/996/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobspython.wordpress.com/996/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=996&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/05/01/make-the-unicorns-behave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby Expression snippet for Sublime Text 2</title>
		<link>http://bob-roberts.net/2013/04/14/ruby-expression-snippet-for-sublime-text-2/</link>
		<comments>http://bob-roberts.net/2013/04/14/ruby-expression-snippet-for-sublime-text-2/#comments</comments>
		<pubDate>Sun, 14 Apr 2013 23:17:36 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/?p=979</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=979&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><script src="https://gist.github.com/5384619.js"></script></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobspython.wordpress.com/979/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobspython.wordpress.com/979/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=979&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/04/14/ruby-expression-snippet-for-sublime-text-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>Rails CRM gets an upgrade</title>
		<link>http://bob-roberts.net/2013/03/13/rails-crm-gets-an-upgrade/</link>
		<comments>http://bob-roberts.net/2013/03/13/rails-crm-gets-an-upgrade/#comments</comments>
		<pubDate>Wed, 13 Mar 2013 17:52:25 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/?p=973</guid>
		<description><![CDATA[A while back I created Rails CRM.  It was always meant to be a bare bones Customer Relations Management application as I did not find any that I liked. I just released a beta version of Rails CRM &#8211; Advanced. &#8230; <a href="http://bob-roberts.net/2013/03/13/rails-crm-gets-an-upgrade/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=973&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A while back I created Rails CRM.  It was always meant to be a bare bones <a class="zem_slink" title="Customer relationship management" href="http://en.wikipedia.org/wiki/Customer_relationship_management" target="_blank" rel="wikipedia">Customer Relations Management</a> application as I did not find any that I liked.</p>
<p>I just released a beta version of Rails CRM &#8211; Advanced.  It is still pretty bare bones but we have added a few new features and a new look as well.  I am thinking of maybe providing a hosted solution for the new Rails CRM but I am not sure if there is any interest.</p>
<p>In the meantime, feel free to check it out at <a href="http://www.railscrm.com">Rails CRM</a></p>
<p>As usual, this is open sourced and there are links to the Github repos on the front page.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobspython.wordpress.com/973/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobspython.wordpress.com/973/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=973&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/03/13/rails-crm-gets-an-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>Merging Pdf&#8217;s in Rails application</title>
		<link>http://bob-roberts.net/2013/03/08/merging-pdfs-in-rails-application/</link>
		<comments>http://bob-roberts.net/2013/03/08/merging-pdfs-in-rails-application/#comments</comments>
		<pubDate>Sat, 09 Mar 2013 00:36:59 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/?p=952</guid>
		<description><![CDATA[Alright, I had a lot of fun today trying to figure out how to merge pdf&#8217;s in our Rails application. We are using pdfkit to create our pdf&#8217;s.  What I needed to do was to take several pdf&#8217;s and merge &#8230; <a href="http://bob-roberts.net/2013/03/08/merging-pdfs-in-rails-application/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=952&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:justify;">Alright, I had a lot of fun today trying to figure out how to merge pdf&#8217;s in our Rails application.</p>
<p style="text-align:justify;">We are using pdfkit to create our pdf&#8217;s.  What I needed to do was to take several pdf&#8217;s and merge them into one large pdf.  Frankly I did not think it was even possible.  I found several <a class="zem_slink" title="RubyGems" href="http://rubygems.org" target="_blank" rel="homepage">Ruby gems</a> that were supposed to do the job but everyone I tried was just another PITA dead end.</p>
<p style="text-align:justify;">After getting pointed in the right direction by @m3talsmith, I ended up solving my issue the old school way.  So, if you have done this before with Ruby gems stick with it.  If not, here we go&#8230;</p>
<pre class="brush: ruby; title: ; notranslate">
def merge_pdfs
   pdfs = []
   pdfs &amp;lt;&amp;lt; @bulletin.pdf.path
   @bulletin.bulletin_inserts.first.bulletin_insert_items.each do |bii|
     if bii.pdf.present?
      pdfs &amp;lt;&amp;lt; bii.pdf.path
     end
   end
   if pdfs.count &amp;gt; 1
     system &amp;quot;gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=temp.pdf #{pdfs.join(' ')}&amp;quot;
     system &amp;quot;cat '/Users/bob/Projects/bulletin-builder/temp.pdf' &amp;gt; #{@bulletin.pdf.path}&amp;quot;
   end
 end

</pre>
<p style="text-align:justify;">I first started with an empty array for pdfs.  Then I went thru a couple of processes to add all the pdfs to the pdfs array.</p>
<p style="text-align:justify;">After that, comes the old school.  Using <a class="zem_slink" title="Ghostscript" href="http://www.ghostscript.com" target="_blank" rel="homepage">Ghostscript</a> (gs) we joined all of the pdfs and outputted them to a temp.pdf.  I tried several times unsuccessfully to overwrite the original pdf but I never got it to work correctly.  After creating the temp.pdf we used good old cat command to copy the temp.pdf to the original pdf.</p>
<p style="text-align:justify;">If you know or find a better way, please tell me!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobspython.wordpress.com/952/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobspython.wordpress.com/952/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=952&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/03/08/merging-pdfs-in-rails-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>Cleanup files created with Rspec</title>
		<link>http://bob-roberts.net/2013/03/06/cleanup-files-created-with-rspec/</link>
		<comments>http://bob-roberts.net/2013/03/06/cleanup-files-created-with-rspec/#comments</comments>
		<pubDate>Wed, 06 Mar 2013 22:00:23 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/?p=945</guid>
		<description><![CDATA[So I guess I just never took the time to look but our main Ruby on Rails web application creates a lot of files during testing.  Now I am not talking about database anything here.  We create icons, and pdf&#8217;s &#8230; <a href="http://bob-roberts.net/2013/03/06/cleanup-files-created-with-rspec/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=945&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So I guess I just never took the time to look but our main Ruby on Rails web application creates a lot of files during testing.  Now I am not talking about database anything here.  We create icons, and pdf&#8217;s and rtf files during our Rspec test suite.</p>
<p>Just add this to you spec_helper.rb file:</p>
<pre class="brush: ruby; title: ; notranslate">

config.after(:suite) do
  FileUtils.rm_rf(Dir[&quot;#{Rails.root}/public/system&quot;])
end
</pre>
<p>Obviously change the directory to the correct one.</p>
<p>Hope that helps somebody <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobspython.wordpress.com/945/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobspython.wordpress.com/945/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=945&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/03/06/cleanup-files-created-with-rspec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>Rails Rspec total test time error</title>
		<link>http://bob-roberts.net/2013/03/04/rails-rspec-total-test-time/</link>
		<comments>http://bob-roberts.net/2013/03/04/rails-rspec-total-test-time/#comments</comments>
		<pubDate>Tue, 05 Mar 2013 02:04:29 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/?p=942</guid>
		<description><![CDATA[So I was getting this crazy value for the total time to run my Rspec tests.  It was like a bizarre decimal.  I never really cared until I started to try to speed up my tests. It took me longer &#8230; <a href="http://bob-roberts.net/2013/03/04/rails-rspec-total-test-time/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=942&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>So I was getting this crazy value for the total time to run my <a class="zem_slink" title="RSpec" href="http://rspec.info/" target="_blank" rel="homepage">Rspec</a> tests.  It was like a bizarre decimal.  I never really cared until I started to try to speed up my tests.</p>
<p>It took me longer to find the solution than it took to fix it.  If you are not getting a actual positive number in Rspec tests it might be Timecop.  We are using Timecop and the time was frozen, hence the crazy total time.  After running a test using Timecop, just add Timecop.return.</p>
<p>Piece of cake!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobspython.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobspython.wordpress.com/942/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=942&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/03/04/rails-rspec-total-test-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>Deploying a Rails app on Nginx/Puma with Capistrano</title>
		<link>http://bob-roberts.net/2013/02/20/941/</link>
		<comments>http://bob-roberts.net/2013/02/20/941/#comments</comments>
		<pubDate>Wed, 20 Feb 2013 23:42:05 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/2013/02/20/941/</guid>
		<description><![CDATA[Reblogged from Tommy Chheng : Shortest Path Programming: Puma is a fast multi-threaded Ruby app server designed to host rack-based Ruby web apps including Sinatra and Ruby on Rails. Like Unicorn, it supports rolling restarts, but since it is multi-threaded &#8230; <a href="http://bob-roberts.net/2013/02/20/941/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=941&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div class="reblog-post"><p class="reblog-from"><img alt='' src='http://2.gravatar.com/avatar/8c8f227adb759f3eb632bcfe77131b8e?s=25&amp;d=identicon&amp;r=G' class='avatar avatar-25' height='25' width='25' /> <a href="http://tommy.chheng.com/2013/01/23/deploying-a-rails-app-on-nginxpuma-with-capistrano/">Reblogged from Tommy Chheng : Shortest Path Programming:</a></p><div class="wpcom-enhanced-excerpt"><div class="wpcom-enhanced-excerpt-content">
<p><a href="http://puma.io">Puma</a> is a fast multi-threaded Ruby app server designed to host rack-based Ruby web apps including Sinatra and Ruby on Rails. Like <a href="http://unicorn.bogomips.org/">Unicorn</a>, it supports rolling restarts, but since it is multi-threaded rather than Unicorn's multi-process model, it takes far less memory while being comparable in performance. Puma can run on Ruby 1.9.X but its multi-threaded nature is better suited to run on a real multi-threaded runtime like Rubinius or JRuby.</p>
</div> <p class="read-more"><a href="http://tommy.chheng.com/2013/01/23/deploying-a-rails-app-on-nginxpuma-with-capistrano/" target="_self"><span>Read more&hellip;</span> 853 more words</a></p></div></div><div class="reblogger-note"><div class='reblogger-note-content'>
Nginx and Puma
</div></div>]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/02/20/941/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>devise user login for rspec controllers</title>
		<link>http://bob-roberts.net/2013/02/15/940/</link>
		<comments>http://bob-roberts.net/2013/02/15/940/#comments</comments>
		<pubDate>Sat, 16 Feb 2013 00:59:56 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/2013/02/15/940/</guid>
		<description><![CDATA[Reblogged from codedecoder: Recently, I get into problem while running controller spec. Iam using rspec with capybara and using devise gem for user authentication. While testing controller, I need to login a user. I tried to use Devise built in &#8230; <a href="http://bob-roberts.net/2013/02/15/940/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=940&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div class="reblog-post"><p class="reblog-from"><img alt='' src='http://2.gravatar.com/avatar/e17eab52d859b1a9fe7276fcd11a7689?s=25&amp;d=identicon&amp;r=G' class='avatar avatar-25' height='25' width='25' /> <a href="http://codedecoder.wordpress.com/2012/10/11/devise-user-login-for-rspec-controllers/">Reblogged from codedecoder:</a></p><div class="wpcom-enhanced-excerpt"><div class="wpcom-enhanced-excerpt-content">
<p>Recently, I get into problem while running controller spec. Iam using rspec with capybara and using devise gem for user authentication. While testing controller, I need to login a user. I tried to use Devise built in helper method <code>sign_in</code> and <code>sign_out to manage user login logout, but it is not working at all. After, a lot of googling I find the solution at&hellip;</code></p>
</div> <p class="read-more"><a href="http://codedecoder.wordpress.com/2012/10/11/devise-user-login-for-rspec-controllers/" target="_self"><span>Read more&hellip;</span> 267 more words</a></p></div></div><div class="reblogger-note"><div class='reblogger-note-content'>
Speed up Rspec testing!!! Thank you thank you.
</div></div>]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/02/15/940/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>sending email in rails</title>
		<link>http://bob-roberts.net/2013/02/14/939/</link>
		<comments>http://bob-roberts.net/2013/02/14/939/#comments</comments>
		<pubDate>Thu, 14 Feb 2013 22:02:52 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/2013/02/14/939/</guid>
		<description><![CDATA[Reblogged from codedecoder: Sending email in rails is mange by ActionMailer::Base. The detail of this class is available here. I will show you here to send a simple welcome email. You can read it in more detail here at rubyonrail.org &#8230; <a href="http://bob-roberts.net/2013/02/14/939/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=939&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div class="reblog-post"><p class="reblog-from"><img alt='' src='http://2.gravatar.com/avatar/e17eab52d859b1a9fe7276fcd11a7689?s=25&amp;d=identicon&amp;r=G' class='avatar avatar-25' height='25' width='25' /> <a href="http://codedecoder.wordpress.com/2013/01/29/sending-email-in-rails/">Reblogged from codedecoder:</a></p><div class="wpcom-enhanced-excerpt"><div class="wpcom-enhanced-excerpt-content">
<p>Sending email in rails is mange by ActionMailer::Base. The detail of this class is available <a title="action mailer rails" href="http://api.rubyonrails.org/classes/ActionMailer/Base.html">here</a>. I will show you here to send a simple welcome email. You can read it in more detail <a title="email in rails" href="http://guides.rubyonrails.org/action_mailer_basics.html">here</a> at rubyonrail.org</p>
<p><strong>STEP 1: configuring the mailer in your environment file</strong></p>
<p>First we need to tell our application to handle email request. The basic configuration in your development environment related to action_mailer should look like this&hellip;</p>
</div> <p class="read-more"><a href="http://codedecoder.wordpress.com/2013/01/29/sending-email-in-rails/" target="_self"><span>Read more&hellip;</span> 990 more words</a></p></div></div><div class="reblogger-note"><div class='reblogger-note-content'>
Perfect write up for sending emails with RoR
</div></div>]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/02/14/939/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
		<item>
		<title>Advertising as a Freelancer: Keys to Success</title>
		<link>http://bob-roberts.net/2013/02/12/937/</link>
		<comments>http://bob-roberts.net/2013/02/12/937/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 17:33:45 +0000</pubDate>
		<dc:creator>Bob Roberts</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://bob-roberts.net/2013/02/12/937/</guid>
		<description><![CDATA[Reblogged from Darwin: Advertising as a Freelancer: Keys to Success Freelancing is one of the most popular trends in today’s professional world. It has become immensely popular among professionals thanks to its flexible features. Freelancing is a job option that &#8230; <a href="http://bob-roberts.net/2013/02/12/937/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bob-roberts.net&#038;blog=15193052&#038;post=937&#038;subd=bobspython&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div class="reblog-post"><p class="reblog-from"><img alt='' src='http://2.gravatar.com/avatar/5fd0bf43475cb85986f87575e78bef94?s=25&amp;d=identicon&amp;r=G' class='avatar avatar-25' height='25' width='25' /> <a href="http://darwin06.wordpress.com/2013/02/01/advertising-as-a-freelancer-keys-to-success/">Reblogged from Darwin:</a></p><div class="wpcom-enhanced-excerpt"><div class="wpcom-enhanced-excerpt-content">
<p>Advertising as a Freelancer: Keys to Success</p>
<p>Freelancing is one of the most popular trends in today’s professional world. It has become immensely popular among professionals thanks to its flexible features. Freelancing is a job option that is offered to professionals as a project or an assignment for a certain agreed-upon payment.</p>
<p>Freelancers work from their own comfortable space and according to their own flexible schedules.</p>
</div> <p class="read-more"><a href="http://darwin06.wordpress.com/2013/02/01/advertising-as-a-freelancer-keys-to-success/" target="_self"><span>Read more&hellip;</span> 2,222 more words</a></p></div></div><div class="reblogger-note"><div class='reblogger-note-content'>
Great article on successful freelancing
</div></div>]]></content:encoded>
			<wfw:commentRss>http://bob-roberts.net/2013/02/12/937/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/128b10f2db595a6d798b64ccb166fda1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">broberts65</media:title>
		</media:content>
	</item>
	</channel>
</rss>
