<?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>Merbist &#187; edge</title>
	<atom:link href="http://merbist.com/tag/edge/feed/" rel="self" type="application/rss+xml" />
	<link>http://merbist.com</link>
	<description>Random thoughts of a software developer</description>
	<lastBuildDate>Tue, 03 Jan 2012 02:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Merb Edge update (Oct 6th 2008)</title>
		<link>http://merbist.com/2008/10/06/merb-edge-update-oct-6th-2008/</link>
		<comments>http://merbist.com/2008/10/06/merb-edge-update-oct-6th-2008/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 04:50:15 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[full stack]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://merbist.com/?p=134</guid>
		<description><![CDATA[Mode changes to init.rb, user updating to a newer version or Merb will need to add c&#91;:log_file&#93; = Merb.root / &#34;log&#34; / &#34;development.log&#34; to their init.rb file or config/environments/development.rb for instance. (Newly generated apps are already setup properly) We made some changes to the way Rake files work. Merb-core doesn&#8217;t require the rspec tasks anymore [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Mode changes to init.rb, user updating to a newer version or Merb will need to add

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">c<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:log_file</span><span style="color:#006600; font-weight:bold;">&#93;</span> = Merb.<span style="color:#9900CC;">root</span> <span style="color:#006600; font-weight:bold;">/</span> <span style="color:#996600;">&quot;log&quot;</span> <span style="color:#006600; font-weight:bold;">/</span> <span style="color:#996600;">&quot;development.log&quot;</span></pre></div></div>

<p>to their init.rb file or config/environments/development.rb for instance. (Newly generated apps are already setup properly)</li>
<li>We made some changes to the way Rake files work. Merb-core doesn&#8217;t require the rspec tasks anymore so Test::Unit see annoying rspec tasks. Once again people upgrading to the latest version of Merb need to make a small change and add:

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'spec/rake/spectask'</span></pre></div></div>

<p>to their rake file. Newly generated applications using RSpec already have that line setup.</li>
<li>In the last few days, <a href="http://yehudakatz.com/" target="_blank">Yehuda</a> merged in his branch with the new &#8220;request-testing feature&#8221;. This is a new way of testing your apps. It makes testing a real request going through a controller and being rendered in a view, something quite easy, Merb interegration tests here we go!. <a href="http://gist.github.com/14910" target="_blank">Check here</a> to see a example of what you can now do. Rails + Rspec users might be surprised by this choice, and I&#8217;ve scheduled to interview Yehuda so he can explain why and when you want to use this way of testing your app. (Don&#8217;t miss his talk at <a href="http://merbcamp.com" target="_blank">MerbCamp</a> next week)</li>
<li>Talking about full stack testing, Merb is almost entirely full stack tested. What does that mean? Take a look at <a title="merb-helpers" href="http://github.com/wycats/merb-more/tree/master/merb-helpers" target="_blank">merb-helpers</a> specs in <a title="merb-more" href="http://github.com/wycats/merb-more" target="_blank">merb-more</a>. Form builders are tested through a real app available from spec/fixture/app, the views are rendered in the specs and the results are check to make sure they will work for you in your real application. Avoiding using too many mocks and stubs helped us really test things in the contet of a real app and avoid a great amount of ghost bugs. Specs might run a bit slower but we believe Merb now has better testing suite than before. More coming up about this topic.</li>
<li>Ohh and we released Merb 0.9.8 &#8220;Time Machine&#8221;, last release before 1.0RC1 <img src='http://merbist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://merbist.com/2008/10/06/merb-edge-update-oct-6th-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Few changes in Merb Edge</title>
		<link>http://merbist.com/2008/10/05/few-changes-in-merb-edge/</link>
		<comments>http://merbist.com/2008/10/05/few-changes-in-merb-edge/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 05:48:24 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[merb]]></category>

		<guid isPermaLink="false">http://merbist.com/?p=124</guid>
		<description><![CDATA[I thought I should share few changes that my affect your apps if you want to upgrade to Edge. merb_helpers which was previously in merb-plugins now moved to merb-more and got renamed merb-helpers.Â  What that means for you is that you probably want to install merb-helpers and change the reference in your init.rb from dependencies [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I should share few changes that my affect your apps if you want to upgrade to Edge.</p>
<ul>
<li>merb_helpers which was previously in <a title="merb-plugins" href="http://github.com/wycats/merb-plugins/tree/master" target="_blank">merb-plugins</a> now moved to <a title="merb-more" href="http://github.com/wycats/merb-more/" target="_blank">merb-more</a> and got renamed <a title="merb-helpers" href="http://github.com/wycats/merb-more/tree/master/merb-helpers" target="_blank">merb-helpers</a>.Â  What that means for you is that you probably want to install merb-helpers and change the reference in your init.rb from dependencies &#8220;merb_helpers&#8221; to dependencies &#8220;merb-helpers&#8221;</li>
<li>People started reporting problems with templates not being reloaded in dev mode etc.. The reason is that we made some changes to the config/environments/development.rb file few weeks ago and people did not notice. <a title="development.rb" href="http://github.com/wycats/merb-more/tree/master/merb-gen/lib/generators/templates/application/merb/config/environments/development.rb" target="_blank">Here is</a> the new generated <a title="development.rb" href="http://github.com/wycats/merb-more/tree/master/merb-gen/lib/generators/templates/application/merb/config/environments/development.rb" target="_blank">development.rb</a> file. Note the following interesting change:

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">c<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:reload_templates</span><span style="color:#006600; font-weight:bold;">&#93;</span> = <span style="color:#0000FF; font-weight:bold;">true</span></pre></div></div>

<p>You will need to update this setting if you want Merb to auto reload your templates.</li>
</ul>
<p>Also, if you didn&#8217;t read it yet, go check on Yehuda&#8217;s explanation of <a title="Yehuda Katz new blog post" href="http://yehudakatz.com/2008/10/03/merb-master-process/" target="_blank">Merb new master process</a>.</p>
<p>Finally, I have a bit of a bad news. We were hoping to release Merb 1.0 final during <a title="MerbCamp" href="http://merbcamp.com" target="_blank">MerbCamp</a> next week end. Unfortunately it looks like we will only release 1.0RC.</p>
<p>The reason behind this choice is simple, we have been adding a lot of features, fixed a lot of bugs and stabilized the API. However we need more feedback from users to be confident enough to release a final 1.0 release.</p>
]]></content:encoded>
			<wfw:commentRss>http://merbist.com/2008/10/05/few-changes-in-merb-edge/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Get on Merb Edge pre 1.0</title>
		<link>http://merbist.com/2008/10/04/get-on-merb-edge-pre-10/</link>
		<comments>http://merbist.com/2008/10/04/get-on-merb-edge-pre-10/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 21:00:01 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[datamapper]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[thor]]></category>

		<guid isPermaLink="false">http://merbist.com/?p=114</guid>
		<description><![CDATA[Merb 1.0 is almost ready to be pushed out and you might be impatient to start playing with some of the goodies not yet available in the latest stable release. Before getting started, you should know that not everything has been ironed out yet so don&#8217;t expect to have a fully stable Edge. The easiest [...]]]></description>
			<content:encoded><![CDATA[<p>Merb 1.0 is almost ready to be pushed out and you might be impatient to start playing with some of the goodies not yet available in the latest stable release. Before getting started, you should know that not everything has been ironed out yet so don&#8217;t expect to have a fully stable Edge.</p>
<p>The easiest way to get started requires that you have <a title="Git" href="http://git.or.cz/" target="_blank">git</a> installed as well as a gem called <a title="thor" href="http://github.com/wycats/thor/tree/master" target="_blank">thor</a>.</p>
<p>I let you take care of installing git on your machine, Ruby dev without git became quite challenging since <a title="GitHub" href="http://github.com" target="_blank">GitHub</a> started ruling the Ruby OSS world.</p>
<pre><code class="shell">sudo gem install wycats-thor -s http://gems.github.com</code></pre>
<div class="wp-caption alignright" style="width: 250px"><a href="http://flickr.com/photos/fturmog/1438235253/"><img title="Hops" src="http://farm2.static.flickr.com/1418/1438235253_5b10c24732_m.jpg" alt="Hops, used primarily as a flavoring and stability agent in beer, and also in other beverages and in herbal medicine." width="240" height="180" /></a><p class="wp-caption-text">Hops, used primarily as a flavoring and stability agent in beer, and also in other beverages and in herbal medicine.</p></div>
<p><a title="thor" href="http://yehudakatz.com/2008/05/12/by-thors-hammer/" target="_blank">Thor</a> is a sort if mix between rake, <a title="sake" href="http://errtheblog.com/posts/60-sake-bomb" target="_blank">sake</a> with a better argument parser and based on Ruby classes.</p>
<p>Thor on its own won&#8217;t be very helpful, we need some thor tasks.</p>
<p>Create a folder where you want to store Merb&#8217;s source code and cd in it.</p>
<p>Once there download the latest merb thor tasks:</p>
<pre><code class="shell">curl -L http://merbivore.com/merb.thor &gt; merb.thor
</code></pre>
<p>You can now look at the available task by doing</p>
<pre><code class="shell">thor -T</code></pre>
<p><span id="more-114"></span><br />
At this point you be overwhelmed by the multitude of options, we are working on making things a be nicer for 1.0. But anyways, let&#8217;s get started:</p>
<pre><code class="shell">sudo thor merb:edge --install</code></pre>
<p>The command above will install extlib, merb-core and merb-more from git HEAD. You now have the latest version of Merb&#8217;s libs installed locally as gems.</p>
<p>You might also want to install Merb extra plugins, if that&#8217;s the case do:</p>
<pre><code class="shell"> sudo thor merb:edge:plugins --install</code></pre>
<p>If you decided to use DataMapper instead of ActiveRecord or Sequel, you will also need to install the gems you might need:</p>
<p>Install data_objects and an adapter: (replace mysql by the adapter you want to install)</p>
<pre><code class="shell"> sudo thor merb:edge:do mysql --install</code></pre>
<p>Install DataMapper core from Git HEAD</p>
<pre><code class="shell"> sudo thor merb:edge:dm_core --install</code></pre>
<p>Install DataMapper more from Git HEAD</p>
<pre><code class="shell"> sudo thor merb:edge:dm_more --install</code></pre>
<p>You should be all setup by now.</p>
<p><strong><br />
Next time you want to update, just come back to the same folder and do the same thing. Hopefully by then we will have a 1 task solution and will offer a merb-stack version of our gems to let you install everything at once with all setup done.</strong></p>
<p>p.s: this post is dedicated <a title="Derek Neighbors" href="http://derekneighbors.com/" target="_blank">Derek Neighbors</a> <img src='http://merbist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://merbist.com/2008/10/04/get-on-merb-edge-pre-10/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>News from the front line &#8211; Sept 24 2008</title>
		<link>http://merbist.com/2008/09/24/news-from-the-front-line-sept-24-2008/</link>
		<comments>http://merbist.com/2008/09/24/news-from-the-front-line-sept-24-2008/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 16:47:24 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[bundling]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://merbist.com/?p=36</guid>
		<description><![CDATA[Dear Merbivores/Merbists/Merbians, It&#8217;s hard to believe that in less that 20 days, Merb 1.0 will be released! We are all really happy to to be almost there but we have to be honest and admit that we are also under pressure. We are all dreaming of a post 1.0 world but in the meantime we [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Merbivores/Merbists/Merbians,</p>
<p>It&#8217;s hard to believe that in <a title="merbcamp" href="http://merbcamp.com" target="_blank">less that 20 days</a>, Merb 1.0 will be released! We are all really happy to to be almost there but we have to be honest and admit that we are also under pressure.</p>
<p>We are all dreaming of a post 1.0 world but in the meantime we have to focus on last minutes bugs and optimization.</p>
<p><a href="http://flickr.com/photos/16596714@N00/355242291/"><img class="alignleft" style="border: 2px solid black; margin: 20px;" title="News from the front" src="http://farm1.static.flickr.com/128/355242291_40cf729cd9_m.jpg" alt="" width="240" height="180" /></a></p>
<p>During the last week or so, we made a lot of progress, the API is now &#8220;almost&#8221; frozen and <a title="Yehuda Katz" href="http://yehudakatz.com/" target="_blank">General Katz</a> is focusing on making sure everything will be fine for D Day.</p>
<p>That reminds me that Katz showed me something amazing yesterday! I shouldn&#8217;t really talk about it but I&#8217;m sure it will stay between us. He was been working on optimizing the general memory consumption and my testing app (real app) went from 120MB of Private Memory used, to 70MB (using 4 processes). I can&#8217;t wait to use that on the field. I also hope my old Rails comrades will realize that running ~100Mb processes (x4) really isn&#8217;t efficient and event dangerous for the free Ruby world!</p>
<p>I also heard rumors that the higher officers are now using a new strategic tool called <a title="PIvotaltracker" href="http://www.pivotaltracker.com" target="_blank">http://www.pivotaltracker.com</a> which should help us streamline the process. We are still using <a title="lighthouse" href="http://merb.lighthouseapp.com" target="_blank">LightHouse</a> to track bugs and patches though. I&#8217;m not sure if this new &#8220;agile&#8221; tool will help, but I thought the approach is pretty interesting. What do you think?</p>
<p><a href="http://flickr.com/photos/celtico/2556999427/"><img class="alignright" style="margin: 20px;" title="Captain at the gym" src="http://farm4.static.flickr.com/3138/2556999427_546c5004f6_m.jpg" alt="" width="184" height="240" /></a></p>
<p>You probably also saw my early report on <a title="bundling a merb app" href="http://merbist.com/2008/09/23/deploying-a-bundled-merb-app-merb-097/" target="_blank">bundling Merb apps</a>, I&#8217;m quite happy about the process. Do you think you will deploy bundled/frozen apps or just use the system-wide gems?</p>
<p><a href="http://farm4.static.flickr.com/3097/2884670329_15385e8516.jpg"><br />
</a></p>
<p>Finally I hear a lot of talk about the <a href="http://github.com/carllerche/merb-core-enterprise-edition/wikis/whats-new-with-the-router" target="_blank">new Route</a>r that&#8217;s available on <a title="merb HEAD" href="http://github.com/wycats/merb-core/tree/master" target="_blank">Edge/HEAD</a>. Officer Lerch wrote a <a title="new merb router" href="http://github.com/carllerche/merb-core-enterprise-edition/wikis/whats-new-with-the-router" target="_blank">nice wiki article</a> covering the changes, you might want to <a title="new merb router" href="http://github.com/carllerche/merb-core-enterprise-edition/wikis/whats-new-with-the-router" target="_blank">read it</a>.</p>
<p>Ohh before I forget, some courageous privates went to <a href="http://github.com/wycats/merb-core/tree/master" target="_blank">HEAD</a> and use the 3rd party plugin called <a title="merb auth" href="http://github.com/hassox/merb-auth/tree/master" target="_blank">merb-auth</a>. What they don&#8217;t know is that they need to change their routes to use the slices with the new router. (the new router requires no block variable) Also, if they look at the merb-auth branches they will notice a new <a title="mauth" href="http://github.com/hassox/merb-auth/tree/mauth" target="_blank">mauth branch</a> which is the new version of merb-auth, even better, more flexible than the previous version.</p>
<p>I hope everything is well for you, say Hi! to our friends for me.</p>
<p>- Merbist</p>
]]></content:encoded>
			<wfw:commentRss>http://merbist.com/2008/09/24/news-from-the-front-line-sept-24-2008/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

