<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Rubynaut: Note for the future :)</title>
    <link>http://www.rubynaut.net/articles/2006/09/24/note-for-the-future</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Note for the future :)</title>
      <description>&lt;p&gt;Autoload Support for Models in Subdirectories Removed&lt;/p&gt;


	&lt;p&gt;The auto loading path which make models in subdirectories of app/models load in Rails has been removed from the lastest trunk. If you are using models in subdirectories of the app/models path, you will now need to add this in your environment.rb:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;$ config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;This won&amp;#8217;t affect most users, but if you&amp;#8217;ve organized your models into subdirectories similar to the convention used for namespaces controllers, then you will want to update your applications before you move to 1.2.&lt;/p&gt;</description>
      <pubDate>Sun, 24 Sep 2006 16:26:00 +0200</pubDate>
      <guid isPermaLink="false">urn:uuid:2a4c44a0-6b1b-4122-8efe-b07b65525207</guid>
      <author>stephane</author>
      <link>http://www.rubynaut.net/articles/2006/09/24/note-for-the-future</link>
    </item>
  </channel>
</rss>
