<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Ruby out of the Rails &#8211; Nitro and Og</title>
	<atom:link href="http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/</link>
	<description>Just a little about development! Think before you write!</description>
	<lastBuildDate>Tue, 08 Dec 2009 10:19:55 -0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: George Moschovitis</title>
		<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/comment-page-1/#comment-110</link>
		<dc:creator>George Moschovitis</dc:creator>
		<pubDate>Sat, 27 Oct 2007 16:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/#comment-110</guid>
		<description>You need to set both to false

:create_schema =&gt; false,
:evolve_schema =&gt; false,

you enable these options only in development (or whn you want to actually update your schema on the live server (and have previously tested this in your debug/staging server)</description>
		<content:encoded><![CDATA[<p>You need to set both to false</p>
<p>:create_schema =&gt; false,<br />
:evolve_schema =&gt; false,</p>
<p>you enable these options only in development (or whn you want to actually update your schema on the live server (and have previously tested this in your debug/staging server)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Mela</title>
		<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/comment-page-1/#comment-108</link>
		<dc:creator>Robert Mela</dc:creator>
		<pubDate>Sat, 27 Oct 2007 02:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/#comment-108</guid>
		<description>My guess was wrong -- looks like it&#039;s :create_schema that needs to be disabled.

Og.start( :name =&gt; &#039;mydb&#039;, :create_schema =&gt; false .... )</description>
		<content:encoded><![CDATA[<p>My guess was wrong &#8212; looks like it&#8217;s :create_schema that needs to be disabled.</p>
<p>Og.start( :name =&gt; &#8216;mydb&#8217;, :create_schema =&gt; false &#8230;. )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Mela</title>
		<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/comment-page-1/#comment-106</link>
		<dc:creator>Robert Mela</dc:creator>
		<pubDate>Fri, 26 Oct 2007 20:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/#comment-106</guid>
		<description>My guess would be Og.evolve_schema = false, or adding :evolve_schema =&gt; false to the option hash of Og.start, e.g.

Og.evolve_schema = false

or 

Og.start( :name =&gt; &quot;booklist&quot;,
              :adapter =&gt; :sqlite,
              :evolve_schema =&gt; false )

See the slowly evolving cheatsheets at http://robmela.com/cheatsheets</description>
		<content:encoded><![CDATA[<p>My guess would be Og.evolve_schema = false, or adding :evolve_schema =&gt; false to the option hash of Og.start, e.g.</p>
<p>Og.evolve_schema = false</p>
<p>or </p>
<p>Og.start( :name =&gt; &#8220;booklist&#8221;,<br />
              :adapter =&gt; :sqlite,<br />
              :evolve_schema =&gt; false )</p>
<p>See the slowly evolving cheatsheets at <a href="http://robmela.com/cheatsheets" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/robmela.com');">http://robmela.com/cheatsheets</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urubatan</title>
		<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/comment-page-1/#comment-103</link>
		<dc:creator>Urubatan</dc:creator>
		<pubDate>Fri, 26 Oct 2007 19:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/#comment-103</guid>
		<description>thanks for the tips, I&#039;ll test it again and will write another post about it :D

PS.: I do not like very much the auto schema update option (did not know nitro has it, but now that i know, is there a way to disable it?), I have had lots of troubles with this kind of feature in hibernate (Java), a migration enables me to write code that for example, moves the data to a new column, process it some way, and then add it to the new column, instead of simply creating a new column with the default value ...</description>
		<content:encoded><![CDATA[<p>thanks for the tips, I&#8217;ll test it again and will write another post about it <img src='http://www.urubatan.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>PS.: I do not like very much the auto schema update option (did not know nitro has it, but now that i know, is there a way to disable it?), I have had lots of troubles with this kind of feature in hibernate (Java), a migration enables me to write code that for example, moves the data to a new column, process it some way, and then add it to the new column, instead of simply creating a new column with the default value &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arne</title>
		<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/comment-page-1/#comment-101</link>
		<dc:creator>Arne</dc:creator>
		<pubDate>Fri, 26 Oct 2007 17:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/#comment-101</guid>
		<description>I don&#039;t know where how you got the impression that automatic reloading of code doesn&#039;t work.Over here it works flawless. Only when you change app.rb itself do you need to restart to server.

The directory layout that nitro --create generates is considered canonical. You&#039;re free to deviate, but all current examples will use this layout. To get automatic loading of ruby files without having to explicitly require them just add something like

Dir[&#039;app/**/*.rb&#039;].each{&#124;f&#124; require f}

to your app.rb.

Thank you for trying out Nitro!</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know where how you got the impression that automatic reloading of code doesn&#8217;t work.Over here it works flawless. Only when you change app.rb itself do you need to restart to server.</p>
<p>The directory layout that nitro &#8211;create generates is considered canonical. You&#8217;re free to deviate, but all current examples will use this layout. To get automatic loading of ruby files without having to explicitly require them just add something like</p>
<p>Dir['app/**/*.rb'].each{|f| require f}</p>
<p>to your app.rb.</p>
<p>Thank you for trying out Nitro!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Mela</title>
		<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/comment-page-1/#comment-98</link>
		<dc:creator>Robert Mela</dc:creator>
		<pubDate>Fri, 26 Oct 2007 13:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/#comment-98</guid>
		<description>The ability to put things wherever you like comes in addition, not instead of.

There is a bin/nitro command that lays out a canonical standard directory hierarchy, but it&#039;s also simple enough that after the first week I could create it from memory.

nitro --create myapp 

results in

myapp ( locate main application script here )
myapp/app/models
myapp/app/controllers
myapp/app/conf
myapp/app/templates
myapp/app/public
myapp/app/public/css
myapp/app/public/css/js

The freedom to do tiny experiments with a minimal layout of one or two files has been incredibly useful.   I still have the canonical structure for more significant projects.</description>
		<content:encoded><![CDATA[<p>The ability to put things wherever you like comes in addition, not instead of.</p>
<p>There is a bin/nitro command that lays out a canonical standard directory hierarchy, but it&#8217;s also simple enough that after the first week I could create it from memory.</p>
<p>nitro &#8211;create myapp </p>
<p>results in</p>
<p>myapp ( locate main application script here )<br />
myapp/app/models<br />
myapp/app/controllers<br />
myapp/app/conf<br />
myapp/app/templates<br />
myapp/app/public<br />
myapp/app/public/css<br />
myapp/app/public/css/js</p>
<p>The freedom to do tiny experiments with a minimal layout of one or two files has been incredibly useful.   I still have the canonical structure for more significant projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Moschovitis</title>
		<link>http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/comment-page-1/#comment-97</link>
		<dc:creator>George Moschovitis</dc:creator>
		<pubDate>Fri, 26 Oct 2007 13:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/ruby-out-of-the-rails-nitro-and-og/#comment-97</guid>
		<description>Thanks for trying out Nitro. I would advise you to grab the (vastly improved) repository version and join the mailing list for extra help. I really think that Nitro is actually simpler to use than Rails.

For example Og does not need migrations because it provides automagic database evolution. If you change your ruby classes and restart your application, Og automatcially detects the changes and alters the database schema accordingly (ie adds columns/ removes columns, alters columns etc).</description>
		<content:encoded><![CDATA[<p>Thanks for trying out Nitro. I would advise you to grab the (vastly improved) repository version and join the mailing list for extra help. I really think that Nitro is actually simpler to use than Rails.</p>
<p>For example Og does not need migrations because it provides automagic database evolution. If you change your ruby classes and restart your application, Og automatcially detects the changes and alters the database schema accordingly (ie adds columns/ removes columns, alters columns etc).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
