<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>merborials.com</title>
    <link>http://merborials.com/posts.xml</link>
    <description>merborials.com Merb screencasts and tutorials</description>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://merborials.com/posts.xml" type="application/rss+xml" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Fmerborials.com%2Fposts.xml" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Fmerborials.com%2Fposts.xml" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Fmerborials.com%2Fposts.xml" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.rojo.com/add-subscription?resource=http%3A%2F%2Fmerborials.com%2Fposts.xml" src="http://blog.rojo.com/RojoWideRed.gif">Subscribe with Rojo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://merborials.com/posts.xml" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Fmerborials.com%2Fposts.xml" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Fmerborials.com%2Fposts.xml" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Fmerborials.com%2Fposts.xml" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
      <title>What's the hold up?</title>
      <link>http://merborials.com/posts/5</link>
      <description>After verry little thinking, and much time working on some paying gigs, I have decided to hold off on the screencasts until Merb 0.9 is released as a gem. There are quite a few changes, and no matter what I do on 0.5.x I will have to redo them anyway. 

I will give 0.9 another week or two to mature and then I will begin re-recording my current screencasts. Hopefully to be released soon after 0.9 hits rubyforge. I also have plans for redoing this site to be less of a blog and more of a video feed.

Stay tuned</description>
      <guid>http://merborials.com/posts/5</guid>
    </item>
    <item>
      <title>2 New rough cuts.</title>
      <link>http://merborials.com/posts/4</link>
      <description>I have a head cold, so I won't be recording the voice-overs for these until this weekend. But here they are in rough form.

Getting started with Merb

This screencast walks a user through the basics of Merb, including installation, app generation, basic configuration, generators and rake tasks, and basic RESTful resources.

Merb Essential Helpers

This screencast is intended to show you some of my most heavily used Merb helpers. Includes building links with link_to, generating urls with the url method, and building forms with the help of merb_helpers.

Any feedback? Leave a comment or yell at me in #merb (ShayArnett)</description>
      <guid>http://merborials.com/posts/4</guid>
    </item>
    <item>
      <title>Namespaced Resources with Merb</title>
      <link>http://merborials.com/posts/2</link>
      <description>Last weekend there were a few people in #merb having issues with namespaced resources, myself included.
The example code in the docs ends up adding an extra 'namespace' to the urls, so we ended up with
a rather ugly block of code to do the routing. Tonight I decided to take a look again at the
issue and found another way that works much better. It is now one much shorter line of code for each resource,

&lt;pre&gt;
r.resources :bars, :namespace =&gt; 'foo'
&lt;/pre&gt;

along with the usual wrapping your controllers in 'module Namespace'. Full example below.

One catch is views always look in /views/namespace/controller, while the controller itself
can be picked up in either /controllers or /controllers/namespace. I like the cleanliness of the
subfolders so I'm not going to complain.

Example

h3. /config/router.rb

&lt;pre&gt;
r.resources :bars, :namespace =&gt; 'foo'
&lt;/pre&gt;

h3. /app/controllers/foo/bars.rb

&lt;pre&gt;
module Foo
  class Bars &lt; Application

    def index
      render
    end
  end
end
&lt;/pre&gt;

h3. /app/views/foo/bars/index.html.erb

&lt;pre&gt;
Hello Namespace
&lt;/pre&gt;

h3. Named routes generated for use with url() 

&lt;pre&gt;
new_foo_bar: /foo/bars/new
edit_foo_bar: /foo/bars/:id/edit
custom_foo_bar: /foo/bars/:action/:id
foo_bars: /foo/bars
foo_bar: /foo/bars/:id
&lt;/pre&gt;

</description>
      <guid>http://merborials.com/posts/2</guid>
    </item>
    <item>
      <title>15 Minute Blog with Merb - Rough Cut</title>
      <link>http://merborials.com/posts/1</link>
      <description>After 3 hectic days of developing, designing, and deploying, Merborials has a home. Be sure and hit up the "RSS Feed":http://merborials.com/posts.xml to keep track on updates.

I am planning on reshooting this video, but thought I would go ahead and put up the rough cut so people could get a sneak peak.

There are a couple of errors, there is no audio, and with Merb moving so fast, some of the stuff is slightly outdated. But overall it is a pretty good starting point for building a Merb app.
</description>
      <guid>http://merborials.com/posts/1</guid>
    </item>
  </channel>
</rss>
