<?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/"
	>

<channel>
	<title>Railsgrammer</title>
	<atom:link href="http://railsgrammer.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://railsgrammer.com</link>
	<description>the rails breed of programmer</description>
	<lastBuildDate>Thu, 19 Jan 2012 05:31:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Never a fun error: Access-Control-Allow-Origin</title>
		<link>http://railsgrammer.com/2012/01/never-a-fun-error-access-control-allow-origin/</link>
		<comments>http://railsgrammer.com/2012/01/never-a-fun-error-access-control-allow-origin/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 05:30:54 +0000</pubDate>
		<dc:creator>coffeencoke</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phone gap]]></category>
		<category><![CDATA[phoneGap]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://railsgrammer.com/?p=97</guid>
		<description><![CDATA[If you are testing any javascript app against a web service and you run into the following error in your javascript console: XMLHttpRequest cannot load http://localhost:3000/. Origin http://myapp.dev is not allowed by Access-Control-Allow-Origin. In this context it means that the host your are making the request from does not have permission to access the requested resource (it [...]]]></description>
			<content:encoded><![CDATA[<p>If you are testing any javascript app against a web service and you run into the following error in your javascript console:</p>
<p>XMLHttpRequest cannot load <a title="http://localhost:3000/" href="http://localhost:3000/" target="_blank">http://localhost:3000/</a>. Origin <a title="http://guru_weight.dev" href="http://guru_weight.dev/">http://myapp.dev</a> is not allowed by Access-Control-Allow-Origin.</p>
<p>In this context it means that the host your are making the request from does not have permission to access the requested resource (<a href="http://www.w3.org/TR/cors/" target="_blank">it also means a lot of other things</a>).  After hunting you can do a at least 2 things:</p>
<p>1. Add the host to the access list by adding to the request header (http://enable-cors.org/)</p>
<p>2. Load the app using file:/// rather than the host.</p>
<p>Because I was writing this app as a native mobile app for iOS, Android, etc. I found out that PhoneGap loads the html files using the file:/// protocol.  So now, when I am developing on my computer, as long as I use the file:/// protocol, I have no problem with access to my API.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2012/01/never-a-fun-error-access-control-allow-origin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phone Gap Whitelist Rejection Error</title>
		<link>http://railsgrammer.com/2012/01/phone-gap-whitelist-rejection-error/</link>
		<comments>http://railsgrammer.com/2012/01/phone-gap-whitelist-rejection-error/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 05:23:48 +0000</pubDate>
		<dc:creator>coffeencoke</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phone gap]]></category>
		<category><![CDATA[phoneGap]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://railsgrammer.com/?p=90</guid>
		<description><![CDATA[My mobile app continues. As I was testing my registration API through the iOS emulator I got the following error: MyApp [97185:15603] ERROR whitelist rejection: url='http://localhost:3000' After some quick google searching, I discovered that in order to make requests outside of the file system I had to add the host to the phone gap&#8217;s plist [...]]]></description>
			<content:encoded><![CDATA[<p>My mobile app continues.  As I was testing my registration API through the iOS emulator I got the following error:</p>
<pre>MyApp [97185:15603] ERROR whitelist rejection: url='http://localhost:3000'</pre>
<p>After some quick google searching, I discovered that in order to make requests outside of the file system I had to add the host to the phone gap&#8217;s plist file.  For my project this file is located at <code>/MyApp/PhoneGap.plist</code>.  You can either edit this file with a text editor or edit it in Xcode.  The end result for me to be able to hit localhost within the app looks like this:</p>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
...
&lt;key&gt;ExternalHosts&lt;/key&gt;
&lt;array&gt;
&lt;string&gt;localhost&lt;/string&gt;
&lt;/array&gt;
...</pre>
<p>After I made that change, I restarted my app through Xcode and the app was able to hit the rails server.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2012/01/phone-gap-whitelist-rejection-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cucumber and iOS &#8211; one step at a time</title>
		<link>http://railsgrammer.com/2011/11/cucumber-and-ios-one-step-at-a-time/</link>
		<comments>http://railsgrammer.com/2011/11/cucumber-and-ios-one-step-at-a-time/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 05:35:26 +0000</pubDate>
		<dc:creator>coffeencoke</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[Cucumber]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Series]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[Test Driven Development]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://railsgrammer.com/?p=80</guid>
		<description><![CDATA[I have begun writing my first iOS application.  I come from a ruby background and for the past 2 years I have written everything test first starting with cucumber scenarios all the way down to unit tests.  The problem with starting a brand new language for me is I wanted to dive straight in to [...]]]></description>
			<content:encoded><![CDATA[<p>I have begun writing my first iOS application.  I come from a ruby background and for the past 2 years I have written everything test first starting with cucumber scenarios all the way down to unit tests.  The problem with starting a brand new language for me is I wanted to dive straight in to writing the production code.</p>
<p>WRONG.</p>
<p>That would not be test driven and the very fact that I wanted to do that made me throw out my core principles of writing solid quality software.</p>
<p>So I started looking into how I could write Acceptance Tests or Integration tests to drive my development and ultimately drive my learning of how to write an iOS application.</p>
<p>After browsing for a bit I found <a href="https://github.com/unboxed/icuke" target="_blank">iCuke</a> which was quite out of date.  If you look at the github page for this app it has not been touched since June 30, 2010! So I browsed a bit more and found <a href="https://github.com/moredip/Frank" target="_blank">Frank</a> which was updated a blazing 3 days ago!  Much better.</p>
<p>So, keep in mind that I have absolutely zero amount of knowledge on how to write an iOS application.  The tutorial for setting up Frank for an iOS application was point blank easy.  Follow the guide at this tutorial and you&#8217;ll be good to go.  There is also <a href="http://vimeo.com/27691115" target="_blank">this video</a> that steps through that guide so you can visually double check that you set it up correctly!</p>
<p>How great is that!?</p>
<p>So far I am very excited to work on this application, I was bummed thinking that I will not be able to apply my core principles of a software craftsman for a new language but having found Frank, I will be able to drive my learning by writing very high level test scenarios for what I want to learn.  One step at a time.</p>
<p>The only addition I made is because I am from a ruby development background I used <a href="http://beginrescueend.com/" target="_blank">rvm</a> and <a href="http://gembundler.com/" target="_blank">bundler</a> to manage the gem.  The instruction in the tutorial is to run the following:</p>
<p><code>$ sudo gem install frank-cucumber</code></p>
<p>To do it the current way.  Use bundler (view the bundler website or view some of my bundler articles on how to get running with bundler).  The quick addition I made is to add a file named .rvmrc at the project root with the following content:</p>
<p><code>rvm use 1.9.2@my_great_ios_app --create</code></p>
<p>create a file named Gemfile with the following content:</p>
<p><code> source :rubygems<br />
</code><span style="font-family: monospace;">gem &#8216;frank-cucumber&#8217;</span></p>
<p>open a new shell or cd out of the directory and back in to accept the rvmrc file</p>
<p><code> $ cd ..<br />
$ cd -<br />
</code></p>
<p>Read and approve the instructions to accept the rvmrc file.  Basically it will just create a gem set named my_great_ios_app within my ruby 1.9.2 installation.  After that, install the gems:</p>
<p><code>$ bundle install </code></p>
<p>Now that this is completed, you will not have any other gems for this project except what it needs and you will not have any gems for any other project except for what those projects need.  Excellent way to have multiple projects on multiple versions of ruby and still be able to manage the gems at the application level.</p>
<p>Keep checking in to see more articles on how I am learning how to write an iOS application.  If you have any comments, questions or suggestions, please drop me a comment or email.  I&#8217;d love to hear from you.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2011/11/cucumber-and-ios-one-step-at-a-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Midwest Conf &#8211; Day 1 Part 1</title>
		<link>http://railsgrammer.com/2011/11/ruby-midwest-conf-day-1-part-1/</link>
		<comments>http://railsgrammer.com/2011/11/ruby-midwest-conf-day-1-part-1/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 20:14:36 +0000</pubDate>
		<dc:creator>coffeencoke</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rvm]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://railsgrammer.com/?p=77</guid>
		<description><![CDATA[So far the day has been filled with great pastries, excellent coffee, typically frustrated conference wifi, and fantastic talks about Ruby and craftsmanship. The day started off with the why you should not use sudo, for most things. Your ruby development computer should be setup using a number of tools that should not be installed [...]]]></description>
			<content:encoded><![CDATA[<p>So far the day has been filled with great pastries, excellent coffee, typically frustrated conference wifi, and fantastic talks about Ruby and craftsmanship.</p>
<p>The day started off with the why you should not use sudo, for most things.  Your ruby development computer should be setup using a number of tools that should not be installed with sudo, simply because with most if the tools, they can’t.  Your development environment should be isolated in your profile, one step deeper though; isolated in your project.</p>
<p><strong>Use RVM .</strong><br />
<strong> Ro</strong></p>
<p>RVM is a ruby version master (err, manager).  It allows you to install multiple versions of Ruby, JRuby, Rubinius, etc. on the same computer.  Further yet, it allows you to have completely separate gems for each project by using gemsets.</p>
<p><strong>The Ruby Safari<br />
Ola</strong></p>
<p>Ola did a great job throwing out some technical intricacies which really pushed me to get to know my language more.  As I develop using Ruby I use and reuse the same methods and classes.  His talk has encouraged me to look into deeper implementation of Ruby and to ‘play’ with creative patterns.</p>
<p>One thing I particularly liked is commenting and writing Regular Expressions with group names.  However, the big bang from his talk for me was requiring a fake library.  I am constantly growing and learning (trying to) and one place I have been focusing on is speed of tests and design of tests, unit tests to be more specific.  With rails, it is very difficult to write true unit specs that are blazing fast.  More to come on this in future posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2011/11/ruby-midwest-conf-day-1-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Issue: AELWriter Permission denied</title>
		<link>http://railsgrammer.com/2011/02/mac-issue-aelwriter-permission-denied/</link>
		<comments>http://railsgrammer.com/2011/02/mac-issue-aelwriter-permission-denied/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 04:01:19 +0000</pubDate>
		<dc:creator>coffeencoke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://railsgrammer.com/?p=64</guid>
		<description><![CDATA[When I was inserting a new Product Serial Number for Adobe Aperture after migrating Aperture from another computer via that mac osx migration assistant.  Apperture will spin the dreadful spinning wheel of death and spit out this in the Console: 2/6/11 9:19:24 PM com.apple.launchd[1] com.apple.launchd (com.apple.aelwriter[1230]) posix_spawn("/usr/sbin/AELWriter", ...): Permission denied 2/6/11 9:19:24 PM com.apple.launchd[1] com.apple.launchd [...]]]></description>
			<content:encoded><![CDATA[<p>When I was inserting a new Product Serial Number for Adobe Aperture after migrating Aperture from another computer via that mac osx migration assistant.  Apperture will spin the dreadful spinning wheel of death and spit out this in the Console:</p>
<pre>
<div id="_mcePaste">2/6/11 9:19:24 PM	com.apple.launchd[1]	com.apple.launchd	(com.apple.aelwriter[1230]) posix_spawn("/usr/sbin/AELWriter", ...): Permission denied</div>
<div id="_mcePaste">2/6/11 9:19:24 PM	com.apple.launchd[1]	com.apple.launchd	(com.apple.aelwriter[1230]) Exited with exit code: 1</div>
<div id="_mcePaste">2/6/11 9:19:24 PM	com.apple.launchd[1]	com.apple.launchd	(com.apple.aelwriter) Throttling respawn: Will start in 2 seconds</div>

2/6/11 9:19:24 PM	com.apple.launchd[1]	com.apple.launchd	(com.apple.aelwriter[1230]) posix_spawn("/usr/sbin/AELWriter", ...): Permission denied2/6/11 9:19:24 PM	com.apple.launchd[1]	com.apple.launchd	(com.apple.aelwriter[1230]) Exited with exit code: 12/6/11 9:19:24 PM	com.apple.launchd[1]	com.apple.launchd	(com.apple.aelwriter) Throttling respawn: Will start in 2 seconds
</pre>
<p>
The fix is found here:
</p>
<p>
<a href='http://support.apple.com/kb/TS3519' target='_blank'>Apple Support Fix</a>
</p>
<p>happy fixing.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2011/02/mac-issue-aelwriter-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MongoDb vs PostgreSQL</title>
		<link>http://railsgrammer.com/2010/11/mongodb-vs-postgresql/</link>
		<comments>http://railsgrammer.com/2010/11/mongodb-vs-postgresql/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 16:51:36 +0000</pubDate>
		<dc:creator>coffeencoke</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[mongodb postgresql database]]></category>

		<guid isPermaLink="false">http://railsgrammer.com/?p=3</guid>
		<description><![CDATA[Requestful Thinking Been having discussions about the use of MongoDB and PostgreSQL. Has anyone come across any benchmarks for these 2. We&#8217;ve been making a lot of benchmarks using MongoDB with a solution we need, the difference is not a magnitude off from other db&#8217;s. I love mongodb but also have had a love for [...]]]></description>
			<content:encoded><![CDATA[<p>Requestful Thinking</p>
<p>Been having discussions about the use of MongoDB and PostgreSQL.  Has anyone come across any benchmarks for these 2.  We&#8217;ve been making a lot of benchmarks using MongoDB with a solution we need, the difference is not a magnitude off from other db&#8217;s.  I love mongodb but also have had a love for sql oriented database in the past.</p>
<p>I would love to hear what others feel about non sql based databases in certain application solutions.</p>
<p>What are your thoughts on&#8230;</p>
<p><a href="http://railsgrammer.com/wp-content/uploads/2010/10/mongo-db-huge-logo.png"><img class="alignnone size-medium wp-image-48" title="mongo-db-huge-logo" src="http://railsgrammer.com/wp-content/uploads/2010/10/mongo-db-huge-logo-300x100.png" alt="" width="300" height="100" /></a></p>
<p>and</p>
<p><a href="http://railsgrammer.com/wp-content/uploads/2010/11/postgresql.jpg"><img class="alignnone size-medium wp-image-51" title="postgresql" src="http://railsgrammer.com/wp-content/uploads/2010/11/postgresql-300x103.jpg" alt="" width="300" height="103" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2010/11/mongodb-vs-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 3 Finally</title>
		<link>http://railsgrammer.com/2010/07/rails-3-finally/</link>
		<comments>http://railsgrammer.com/2010/07/rails-3-finally/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 05:17:05 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby 1.9]]></category>

		<guid isPermaLink="false">http://railsgrammer.wordpress.com/?p=45</guid>
		<description><![CDATA[To setup a new rails 3 app with cucumber, no prototype and mysql database using ruby 1.9.2 This guide assumes you have ruby 1.9.2, rubygems and bundler gem installed [msimpson@dakota ~] $ mkdir rails3 [msimpson@dakota ~] $ cd rails3 [msimpson@dakota rails3] $ git clone git://github.com/rails/rails.git rails3 . [msimpson@dakota rails3] (master) $ ruby bin/rails new /path/to/my/new/app [...]]]></description>
			<content:encoded><![CDATA[<p>To setup a new rails 3 app with cucumber, no prototype and mysql database using ruby 1.9.2</p>
<p>This guide assumes you have ruby 1.9.2, rubygems and bundler gem installed</p>
<pre>[msimpson@dakota ~] $ mkdir rails3
[msimpson@dakota ~] $ cd rails3
[msimpson@dakota rails3] $ git clone git://github.com/rails/rails.git rails3 .
[msimpson@dakota rails3] (master) $ ruby bin/rails new /path/to/my/new/app --dev -d mysql -J
[msimpson@dakota rails3] $ cd /path/to/my/new/app</pre>
</pre>
<p>Open and edit Gemfile so that it looks like this:</p>
<pre>source 'http://rubygems.org'

gem 'rails', :path =&gt; '/Users/mattsimpson/Projects/_resources/Code/Rails3'
gem 'arel',  :git =&gt; 'git://github.com/rails/arel.git'
gem 'mysql'

group :cucumber do
  gem 'cucumber-rails'
  gem 'cucumber'
  gem 'factory_girl'
  gem 'webrat'
  gem 'ruby-debug19'
end</pre>
<p>Install your gems</p>
<pre>[msimpson@dakota rails3] $ bundle install</pre>
<p>Install Cucumber with webrat and test unit</p>
<pre>[msimpson@dakota rails3] $ rails generate cucumber:install --webrat --testunit</pre>
<p>Open and edit config/database.yml and create your database by running the following:</p>
<pre>[msimpson@dakota app] $ rake db:create:all</pre>
<p>You are good to go!</p>
<p>Originally I was having troubles with rake test and rake cucumber, but after recreating my rails app this way it all worked great.  Hope it works for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2010/07/rails-3-finally/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rails 3 Updates</title>
		<link>http://railsgrammer.com/2010/07/rails-3-updates/</link>
		<comments>http://railsgrammer.com/2010/07/rails-3-updates/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 05:00:36 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby 1.9]]></category>
		<category><![CDATA[rvm]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://railsgrammer.wordpress.com/?p=39</guid>
		<description><![CDATA[In this I will explore and solve issues I had in upgrading rails 3 to the latest rails 3 version. Following the rails 3 update saga continues.  After taking a break to make some leaps in the design process on an application, I came back to programming the app.  After writing some cucumber tests I [...]]]></description>
			<content:encoded><![CDATA[<p>In this I will explore and solve issues I had in upgrading rails 3 to the latest rails 3 version.</p>
<p>Following the rails 3 update saga continues.  After taking a break to make some leaps in the design process on an application, I came back to programming the app.  After writing some cucumber tests I received a series of deprecated messages.  One thing I would like to note is that rails 3 is very good at letting you know what is going on and what you need to do.  Let&#8217;s get started:</p>
<p>My gemfile for cucumber looks like this:</p>
<pre>group :cucumber do
  gem 'capybara'
  gem 'database_cleaner'
  gem 'cucumber-rails'
  gem 'cucumber'
  gem 'spork'
  gem 'launchy'    # So you can do Then show me the page
  gem 'factory_girl'
  gem 'webrat'
end</pre>
<p>When I tried to run my cucumber test I got this message:  &#8221;undefined method `config&#8217; for nil:NilClass (NoMethodError)&#8221;</p>
<p>So I updated my gems via bundle:</p>
<pre>
<pre>[msimpson@dakota Code] $ bundle install</pre>
</pre>
<p>and I got the message:</p>
<pre>No compatible versions could be found for required dependencies:
Conflict on: "bundler":
* bundler (0.9.25) activated by bundler (= 0.9.25, runtime)
* bundler (&gt;= 1.0.0.beta.2, runtime) required by rails (&gt;= 0, runtime)
All possible versions of origin requirements conflict.</pre>
<p>so I installed the new bundler</p>
<pre>[msimpson@dakota Code] $ sudo gem install bundler -v 1.0.0.beta.2</pre>
<p>reran the cucumbers and got this:</p>
<pre>
<pre>    Rails 3 doesn't officially support Ruby 1.9.1 since recent stable
    releases have segfaulted the test suite. Please upgrade to Ruby 1.9.2
    before Rails 3 is released!
    You're running
      ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.3.0]</pre>
<p>so I noticed I needed to install the new ruby 1.9.2 release candidate.  Since I use rvm I had to update rvm, remove my old ruby 1.9.2, re-install it and reinstall bundler:</p>
<pre>[msimpson@dakota Code] $rvm update
[msimpson@dakota Code] $rvm reload
[msimpson@dakota Code] $rvm remove 1.9.2
[msimpson@dakota Code] $rvm install 1.9.2
[msimpson@dakota Code] $rvm use 1.9.2
[msimpson@dakota Code] $sudo gem install bundler -v 1.0.0.beta.2
[msimpson@dakota Code] $ bundle install</pre>
<p>I didn't get all the way through but I'm pretty sure I got closer <img src='http://railsgrammer.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , currently I'm working on getting cucumber to install and run.  Hope this helps, if anyone gets any further let me know.</pre>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2010/07/rails-3-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 3 update</title>
		<link>http://railsgrammer.com/2010/05/rails-3-update/</link>
		<comments>http://railsgrammer.com/2010/05/rails-3-update/#comments</comments>
		<pubDate>Tue, 25 May 2010 06:30:04 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby 1.9]]></category>
		<category><![CDATA[rvm]]></category>

		<guid isPermaLink="false">http://railsgrammer.wordpress.com/?p=32</guid>
		<description><![CDATA[Took me a few tweeks to get rails 3 working on my mac.  Recently I&#8217;ve made some posts to get your setup ready for Rails 3 but have just recently, with the tweeks I&#8217;m going to share here, now got rails 3 working with mysql. I&#8217;ve had to revert from ruby 1.9.2-preview to ruby 1.9.1 p378. [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Took me a few tweeks to get rails 3 working on my mac.  Recently I&#8217;ve made some posts to get your setup ready for Rails 3 but have just recently, with the tweeks I&#8217;m going to share here, now got rails 3 working with mysql.</div>
<p>I&#8217;ve had to revert from ruby 1.9.2-preview to ruby 1.9.1 p378.</p>
<pre>[msimpson@dakota Code] (master) $ rvm install 1.9.1
[msimpson@dakota Code] (master) $ rvm use 1.9.1
<span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">Install rails 3 with the new ruby install</span>
[msimpson@dakota Code] (master) $ sudo gem install rails --prerelease</pre>
<p>Create a new rails app using mysql</p>
<pre><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">[msimpson@dakota Code] (master) $ </span>rails myapp --edge -d mysql</pre>
<p>Now you will be able to create your db and start your app</p>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">[msimpson@dakota Code] (master) $ rake db:create:all
[msimpson@dakota Code] (master) $ rails server</pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"></pre>
<pre style="font:normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;">Yay!!  Rails 3, here we go!</pre>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2010/05/rails-3-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting Rails 3 with Ruby 1.9.2</title>
		<link>http://railsgrammer.com/2010/05/starting-rails-3-with-ruby-1-9-2/</link>
		<comments>http://railsgrammer.com/2010/05/starting-rails-3-with-ruby-1-9-2/#comments</comments>
		<pubDate>Sat, 22 May 2010 06:12:41 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rvm]]></category>

		<guid isPermaLink="false">http://railsgrammer.wordpress.com/?p=30</guid>
		<description><![CDATA[First things first, if you are going to run rails 3 you may as well us ruby 1.9.x.  The problem however is that rails 3 currently does not work well with ruby 1.9.1 so you must first install and use ruby 1.9.2. I&#8217;m installing ruby 1.9.2 using RVM, ruby version manager.  You can read up [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">First things first, if you are going to run rails 3 you may as well us ruby 1.9.x.  The problem however is that rails 3 currently does not work well with ruby 1.9.1 so you must first install and use ruby 1.9.2.</div>
<div id="_mcePaste">I&#8217;m installing ruby 1.9.2 using RVM, ruby version manager.  You can read up on how to use this from me <a href="/2010/04/17/get-mac-osx-snow-leopard-edged-for-ruby-on-rails-3-0-part-1/" target="_blank">earlier blog post</a></div>
<pre>[msimpson@dakota Code] (master) $ rvm install 1.9.2
[msimpson@dakota Code] (master) $ rvm use 1.9.2</pre>
<div id="_mcePaste">now if you go into irb you will see that you are using ruby 1.9.2 and you can use the new cool methods.</div>
<pre>[msimpson@dakota Code] (master) $ irb
&gt; RUBY_VERSION
=&gt; "1.9.2"
&gt; hash = { :first =&gt; "the first value", :second =&gt; "the second value" }
=&gt; {:second=&gt;"the second value", :first=&gt;"the first value"}
&gt; hash.each_with_index.collect{|array, index| "key: #{array[0]} | value: #{array[1]} | index: #{index}"}
=&gt; ["key: second | value: the second value | index: 0", "key: first | value: the first value | index: 1"]</pre>
<div id="_mcePaste">Install Rails 3</div>
<pre>[msimpson@dakota Code] (master) $ sudo gem install rails --prerelease</pre>
<div id="_mcePaste">Create a new rails 3 app strait from the rails 3 git repository so that you can always pull new updates as bugs get fixed</div>
<pre>[msimpson@dakota Code] (master) $ rails . --edge</pre>
<div id="_mcePaste">Obviously, you can specify the rails app name, but I was already in the directory I wanted to be in so I used .</div>
<div id="_mcePaste"></div>
<div>Now you are good to go!  Have fun and report any bugs you find with Rails 3, or fork it and fix it so you can contribute.</div>
]]></content:encoded>
			<wfw:commentRss>http://railsgrammer.com/2010/05/starting-rails-3-with-ruby-1-9-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

