<?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>Dr Nic &#187; Merb</title>
	<atom:link href="http://drnicwilliams.com/category/merb/feed/" rel="self" type="application/rss+xml" />
	<link>http://drnicwilliams.com</link>
	<description>Ruby makes Rails, Javascript makes Ajax, Dr Nic makes Magic</description>
	<lastBuildDate>Tue, 03 Aug 2010 23:44:48 +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>TextMate bundles for Merb</title>
		<link>http://drnicwilliams.com/2008/05/12/textmate-bundles-for-merb/</link>
		<comments>http://drnicwilliams.com/2008/05/12/textmate-bundles-for-merb/#comments</comments>
		<pubDate>Mon, 12 May 2008 00:31:33 +0000</pubDate>
		<dc:creator>Dr Nic</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Merb]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://drnicwilliams.com/?p=273</guid>
		<description><![CDATA[If you are using TextMate (OS X) or E Text Editor (Windows) then you&#8217;ll be dead keen to know there is a TextMate bundle for Merb, and another one for Datamapper. [This is cross-posted on the new Merbunity community site for Merb] Currently, you can access the bundles via git: cd "~/Library/Application Support/TextMate/Bundles" git clone [...]


Related posts:<ol><li><a href='http://drnicwilliams.com/2010/08/01/packaging-textmate-bundles-in-os-x-dmgs/' rel='bookmark' title='Permanent Link: Packaging TextMate bundles in OS X DMGs'>Packaging TextMate bundles in OS X DMGs</a> <small>Last week Engine Yard released a CLI for their Engine...</small></li><li><a href='http://drnicwilliams.com/2010/06/01/validate-and-save-your-ruby-in-textmate-with-secret-rubinus-superpowers/' rel='bookmark' title='Permanent Link: Validate and Save your Ruby in TextMate &#8211; with secret Rubinus superpowers'>Validate and Save your Ruby in TextMate &#8211; with secret Rubinus superpowers</a> <small>In some TextMate bundles, if you save a file it...</small></li><li><a href='http://drnicwilliams.com/2008/10/09/textmate-easter-egg-find-bundle-commands-by-key-combo/' rel='bookmark' title='Permanent Link: TextMate easter egg: find bundle commands by key combo'>TextMate easter egg: find bundle commands by key combo</a> <small>I&#8217;ve dreamed of the ability to ask TextMate &#8220;what frigging...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>If you are using TextMate (OS X) or E Text Editor (Windows) then you&#8217;ll be dead keen to know there is a TextMate bundle for Merb, and another one for Datamapper.</p>
<p>[This is <a href="http://merbunity.com/news/3">cross-posted</a> on the new <a href="http://merbunity.com">Merbunity</a> community site for Merb] </p>
<p>Currently, you can access the bundles via git:</p>
<pre>cd "~/Library/Application Support/TextMate/Bundles"
git clone git://github.com/drnic/datamapper-tmbundle.git Datamapper.tmbundle
git clone git://github.com/drnic/merb-tmbundle.git Merb.tmbundle</pre>
<p>Now “Reload Bundles” or restart TextMate.</p>
<p>You can now select from three Merb syntax/scopes. Press Shift+Alt+Cmd+M to see the options (below)</p>
<p><a href="http://skitch.com/drnic/m87s/merb-textmate-bundle-select-orm"><img src="http://img.skitch.com/20080512-bajj7kagph5g33c8h7ba79rm6t.jpg" alt="Merb TextMate bundle - select ORM"></a></p>
<ul>
<li>If you select Merb (Datamapper) you will have access to the Merb bundle <span class="caps">AND</span> the Datamapper bundle.</li>
<li>If you select Merb (ActiveRecord) you have access to the Merb bundle <span class="caps">AND</span> the Ruby on Rails bundle.</li>
<li>If you select Merb (Sequel) then nothing special happens as there isn’t a Sequel bundle yet. Want to create one?</li>
</ul>
<p>Currently there is no separation in the Rails bundle for ActiveRecord and non-ActiveRecord snippets and commands, so if you use Merb (ActiveRecord) there will be some snippets + commands that you don’t want from Rails. In future, there may be more separation to help the Merb bundle. Also, TextMate 2 may help this cause.</p>
<p>As always, to learn what snippets are available at any given cursor position, use Ctrl+Cmd+T.</p>
<p>If you have new snippets for any of the bundles, I suggest forking the git repositories, pushing up the changes to github and sending Pull Requests to me (drnic).</p>
<h2>Sponsored by Engine Yard</h2>
<p>The initial development of this bundle was sponsored by <a href="http://engineyard.com">Engine Yard</a> because they care.</p>
<h2>Rails bundle</h2>
<p>There is also the hughly popular Ruby on Rails bundle for TextMate that you can use. Download from <a href="http://railsbundle.com/">http://railsbundle.com/</a> or via <a href="http://github.com/drnic/ruby-on-rails-tmbundle/tree/master">github</a>.</p>
<p>If you want to learn everything about the new Ruby on Rails bundle for TextMate and daily life with TextMate (short cuts, editing bundles) then I highly recommend the new <a href="http://peepcode.com/products/textmate-for-rails-2">TextMate for Rails 2</a> Peepcode:</p>
<p><a href="http://peepcode.com/products/textmate-for-rails-2"><img src="https://peepcode.com/system/previews/textmate2/textmate-title.png" alt="TextMate for Rails 2" /></a></p>
<p>This recommendation comes from inside information on the quality of the Peepcode&#8230; it was written by me, and incorporates the vocal skills of the operatic Geoffrey Grosenbach.</p>


<p>Related posts:<ol><li><a href='http://drnicwilliams.com/2010/08/01/packaging-textmate-bundles-in-os-x-dmgs/' rel='bookmark' title='Permanent Link: Packaging TextMate bundles in OS X DMGs'>Packaging TextMate bundles in OS X DMGs</a> <small>Last week Engine Yard released a CLI for their Engine...</small></li><li><a href='http://drnicwilliams.com/2010/06/01/validate-and-save-your-ruby-in-textmate-with-secret-rubinus-superpowers/' rel='bookmark' title='Permanent Link: Validate and Save your Ruby in TextMate &#8211; with secret Rubinus superpowers'>Validate and Save your Ruby in TextMate &#8211; with secret Rubinus superpowers</a> <small>In some TextMate bundles, if you save a file it...</small></li><li><a href='http://drnicwilliams.com/2008/10/09/textmate-easter-egg-find-bundle-commands-by-key-combo/' rel='bookmark' title='Permanent Link: TextMate easter egg: find bundle commands by key combo'>TextMate easter egg: find bundle commands by key combo</a> <small>I&#8217;ve dreamed of the ability to ask TextMate &#8220;what frigging...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://drnicwilliams.com/2008/05/12/textmate-bundles-for-merb/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Merb 0.4 &#8211; Installing Edge Merb and using new Generators</title>
		<link>http://drnicwilliams.com/2007/11/05/merb-04-installing-edge-merb-and-using-new-generators/</link>
		<comments>http://drnicwilliams.com/2007/11/05/merb-04-installing-edge-merb-and-using-new-generators/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 20:44:12 +0000</pubDate>
		<dc:creator>Dr Nic</dc:creator>
				<category><![CDATA[Merb]]></category>
		<category><![CDATA[RubiGen]]></category>

		<guid isPermaLink="false">http://drnicwilliams.com/2007/11/05/merb-04-installing-edge-merb-and-using-new-generators/</guid>
		<description><![CDATA[Merb 0.4 will include generators (via RubiGen) to make it uber-easy for developers to create Merb apps. Here&#8217;s a HOWTO screencast (lifted from rubyconf talk) on getting the required gems from SVN, and setting up a Merb to use ActiveRecord. The video also shows how your generated model/controllers can either have test::unit OR rspec test [...]


Related posts:<ol><li><a href='http://drnicwilliams.com/2008/05/12/textmate-bundles-for-merb/' rel='bookmark' title='Permanent Link: TextMate bundles for Merb'>TextMate bundles for Merb</a> <small>If you are using TextMate (OS X) or E Text...</small></li><li><a href='http://drnicwilliams.com/2008/02/19/one-stop-javascript-unit-testing-for-rails2/' rel='bookmark' title='Permanent Link: One-stop JavaScript Unit Testing for Rails 2.0'>One-stop JavaScript Unit Testing for Rails 2.0</a> <small>Previously, I mentioned a multi-step/multi-project solution to doing JavaScript Unit...</small></li><li><a href='http://drnicwilliams.com/2007/08/20/newgem-using-rubigen-for-generator-support/' rel='bookmark' title='Permanent Link: NewGem Generator &#8211; now with script/generate'>NewGem Generator &#8211; now with script/generate</a> <small>The New Gem Generator (0.13.0)&#8217;s newgem command now behaves like...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://merbivore.com">Merb 0.4</a> will include generators (via RubiGen) to make it uber-easy for developers to create Merb apps. Here&#8217;s a HOWTO screencast (lifted from <a href="http://drnicwilliams.com/2007/11/05/rubigen-meets-the-a-team-live-in-charlotte/">rubyconf talk</a>) on getting the required gems from SVN, and setting up a Merb to use ActiveRecord.</p>
<p>The video also shows how your generated model/controllers can either have test::unit OR rspec test files generated. </p>
<p>As Albert Einstein said &#8220;All your base belong to us.&#8221;</p>
<p><object type="application/x-shockwave-flash" width="550" height="440" data="http://vimeo.com/moogaloop.swf?clip_id=372998&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=01AAEA"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=372998&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=01AAEA" /></object><br /><a href="http://vimeo.com/372998/l:embed_372998">Installing Edge Merb and using new Generators</a> from <a href="http://vimeo.com/user138279/l:embed_372998">probablycorey</a> on <a href="http://vimeo.com/l:embed_372998">Vimeo</a>.</p>
<p>Alternately, download the <a href="http://drnicwilliams.com/wp-content/videos/Merb-0.4 demo.mov">800&#215;600 QuickTime version</a> (22Mb).</p>
<p><strong>Errata:</strong> </p>
<ol>
<li>To change between rspec and test::unit (or between different ORMs), use <code>Merb::GENERATOR_SCOPE</code> found in config/merb_init.rb, rather than hack script/generate as I do in the video <img src='http://drnicwilliams.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Prior to following the video tutorial, you need to checkout the two edge gem sources:</li>
</ol>
<pre>
svn co http://svn.devjavu.com/merb/trunk merb
svn co http://svn.devjavu.com/merb/plugins/merb_activerecord
</pre>
<p>The videos don&#8217;t have voice overs, because if I&#8217;d done that then I&#8217;d have been completely bored when I gave my talk. As it was, I think half my talk was videos and screencasts &#8211; I felt like a TV host&#8230; it was odd. But, you&#8217;ll get the gist.</p>
<p>For more step-by-step instructions, see the man who helped write the Merb generators &#8211; <a href="http://hassox.blogspot.com/2007/11/new-merb-generators.html">Daniel Neighman</a> (irc &#8211; hassox).</p>


<p>Related posts:<ol><li><a href='http://drnicwilliams.com/2008/05/12/textmate-bundles-for-merb/' rel='bookmark' title='Permanent Link: TextMate bundles for Merb'>TextMate bundles for Merb</a> <small>If you are using TextMate (OS X) or E Text...</small></li><li><a href='http://drnicwilliams.com/2008/02/19/one-stop-javascript-unit-testing-for-rails2/' rel='bookmark' title='Permanent Link: One-stop JavaScript Unit Testing for Rails 2.0'>One-stop JavaScript Unit Testing for Rails 2.0</a> <small>Previously, I mentioned a multi-step/multi-project solution to doing JavaScript Unit...</small></li><li><a href='http://drnicwilliams.com/2007/08/20/newgem-using-rubigen-for-generator-support/' rel='bookmark' title='Permanent Link: NewGem Generator &#8211; now with script/generate'>NewGem Generator &#8211; now with script/generate</a> <small>The New Gem Generator (0.13.0)&#8217;s newgem command now behaves like...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://drnicwilliams.com/2007/11/05/merb-04-installing-edge-merb-and-using-new-generators/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
