<?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>Blog &#124; Rubyyot &#187; rails 3.0pre</title>
	<atom:link href="http://blog.rubyyot.com/tag/rails-3-0pre/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rubyyot.com</link>
	<description>Programming, Pragmatism and Getting By in the World</description>
	<lastBuildDate>Wed, 24 Mar 2010 00:14:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Railsbridge BugMash on now</title>
		<link>http://blog.rubyyot.com/2010/01/railsbridge-bugmash-on-now/</link>
		<comments>http://blog.rubyyot.com/2010/01/railsbridge-bugmash-on-now/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 22:16:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[bugmash]]></category>
		<category><![CDATA[rails 3.0pre]]></category>
		<category><![CDATA[railsbridge]]></category>

		<guid isPermaLink="false">http://blog.rubyyot.com/?p=704</guid>
		<description><![CDATA[Railsbridge BugMash
The call went out the other day for participants in the Rails 3.0pre BugMash on Jan 16th &#8211; 17th.  Included were some imple instructions for cloning Rails 3 and creating a new Rails app from it.  So I pulled it down and gave Rails 3 a test spin.
Project
I decided to start a [...]]]></description>
			<content:encoded><![CDATA[<h3>Railsbridge BugMash</h3>
<p>The call went out the other day for participants in the <a href="http://railsbridge.org/news_items/10" target="_blank">Rails 3.0pre BugMash</a> on Jan 16th &#8211; 17th.  Included were some imple instructions for cloning Rails 3 and creating a new Rails app from it.  So I pulled it down and gave Rails 3 a test spin.</p>
<h3>Project</h3>
<p>I decided to start a project for making a sort of universal friends list.  One that encorporates XFN tags and OpenID.  The data could then be used as a resource for other sites to seed a friends list.  In order to claim an OpenID as your own you need to authenticate it.</p>
<h3>Bundler</h3>
<p>The first thing I noticed was the existance of the <a href="http://github.com/rubyyot/knowyou/blob/bugmash/Gemfile" target="_blank">Gemfile</a> in the rails root and how empty <a href="http://github.com/rubyyot/knowyou/blob/bugmash/config/environment.rb" target="_blank">config/environment.rb</a> is.  I&#8217;d read on about the new bundler and thought it was going to be painful, but I was wrong, it was actually a joy.  It even removed gem after I commented out the requirement statement in the Gemfile.</p>
<h3>Plugins</h3>
<p>I installed Authlogic as a plugin, after failing to get it working as a gem.  I&#8217;ve had the same issue with Rails 2.3 so I don&#8217;t think this is an issue with Rails 3.  The OpenId Authentication plugin worked fine as well.</p>
<h3>Routes</h3>
<p>The new routing module took a little getting used to, but after a few mistakes I got it working correctly.  In the end <a href="http://github.com/rubyyot/knowyou/blob/bugmash/config/routes.rb" target="_blank">config/routes.rb</a> looks much cleaner, and still contains lots of commented samples.  Also the legacy routing is commented by default, which is nice since that&#8217;s something I do anyway.</p>
<h3>Premade .gitignore</h3>
<p>Speaking of nice defaults, creating the rails app made .gitignore file for me with tmp / db / log already in it.  Very Nice!</p>
<h3>View validation</h3>
<p>One thing that came as a bit of a surprise to me that the views are validated against the models.  If you reference a field on the model in the view that does not exist, Rails will now error and tell you that it&#8217;s not there.  So you need to rake db:migrate to have it recognize the fields on a model.</p>
<h3>Conclusion</h3>
<p>I have really liked what I see of Rails 3 thus far.  Thanks to all those that have worked on it.  I think that I will start using this version by default.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rubyyot.com/2010/01/railsbridge-bugmash-on-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
