<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in Advanced Rails Recipes | Pragmatic Forums</title>
    <link>http://forums.pragprog.com/forums/43/posts</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>DRY Forms - Any thoughts for displaying required fields? posted by Cindy @ Thu, 15 May 2008 16:13:55 -0000</title>
      <description>&lt;p&gt;I love Mike&amp;#8217;s recipe for &lt;span class="caps"&gt;DRY&lt;/span&gt; forms.  Has anyone added a way to show the user that a field is required?  Usually I would add an asterisk or something next to the field name/label.  I had thought about simply adding :class, but that adds it to the input box, whereas, I&amp;#8217;d want to add it to the label.  Any ideas?&lt;/p&gt;</description>
      <pubDate>Thu, 15 May 2008 16:13:55 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:433:2808</guid>
      <author>Cindy</author>
      <link>http://forums.pragprog.com/forums/43/topics/433</link>
    </item>
    <item>
      <title>multi-step wizard plugin posted by Amos King @ Thu, 01 May 2008 03:09:05 -0000</title>
      <description>&lt;p&gt;If anyone has had a chance to look at the plugin please let me know what you think.&lt;/p&gt;</description>
      <pubDate>Thu, 01 May 2008 03:09:05 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:392:2698</guid>
      <author>Amos King</author>
      <link>http://forums.pragprog.com/forums/43/topics/392</link>
    </item>
    <item>
      <title>SSL Section Weak posted by Bill Harding @ Thu, 01 May 2008 00:05:18 -0000</title>
      <description>&lt;p&gt;First of all, this book has generally been a blessing for me, opportunely released in Beta just as we were beginning to deploy our site (&lt;a href="http://bonanzle.com"&gt;http://bonanzle.com&lt;/a&gt;).  However, the first recipe that has really fallen short of my expectations is the &lt;span class="caps"&gt;SSL&lt;/span&gt; recipe.  It is basically a rehash of 10 different websites that are themselves rehashes of the documentation for the ssl_requirement plugin.&lt;/p&gt;


	&lt;p&gt;After the better part of two days, I&amp;#8217;ve finally powered through the process of setting our site up with &lt;span class="caps"&gt;SSL&lt;/span&gt; on Rails + Apache, but if the recipe would have given me more information about what &lt;span class="caps"&gt;SSL&lt;/span&gt; really is (and what the parts of an &lt;span class="caps"&gt;SSL&lt;/span&gt; setup are), or if it at least had some links to pages &lt;strong&gt;did&lt;/strong&gt; have this info, I would have saved numerous hours.&lt;/p&gt;


	&lt;p&gt;For what it&amp;#8217;s worth, I&amp;#8217;ve recently written a blog that gives the sort of comprehensive &lt;span class="caps"&gt;SSL&lt;/span&gt; rundown I wish the recipe had provided:&lt;br /&gt;&lt;a href="http://www.williambharding.com/blog/rails/ultimate-guide-to-setup-ssl-on-rails-and-apache-2-with-ubuntu-seasoning/"&gt;http://www.williambharding.com/blog/rails/ultimate-guide-to-setup-ssl-on-rails-and-apache-2-with-ubuntu-seasoning/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;In it&amp;#8217;s current state, I think the &lt;span class="caps"&gt;SSL&lt;/span&gt; recipe falls short of the &amp;#8220;beyond the surface&amp;#8221; treatment given by most of the other recipes I&amp;#8217;ve used throughout this book.  Setting up &lt;span class="caps"&gt;SSL&lt;/span&gt; is certainly a common task for deployed websites, I think users would much appreciate some &lt;span class="caps"&gt;TLC&lt;/span&gt; given to this section.&lt;/p&gt;


	&lt;p&gt;Bill&lt;/p&gt;</description>
      <pubDate>Thu, 01 May 2008 00:05:18 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:401:2696</guid>
      <author>Bill Harding</author>
      <link>http://forums.pragprog.com/forums/43/topics/401</link>
    </item>
    <item>
      <title>multi-step wizard plugin posted by Amos King @ Tue, 29 Apr 2008 02:49:50 -0000</title>
      <description>&lt;p&gt;After reading the multi-step wizard and trying to implement it I went and made a plugin.  It works a little differently, but gets rid of a lot of the code that goes along with this recipe.  You can check it out at &lt;a href="http://github.com/Adkron/actsaswizard/tree/master"&gt;http://github.com/Adkron/actsaswizard/tree/master&lt;/a&gt;  Patches are welcome.&lt;/p&gt;</description>
      <pubDate>Tue, 29 Apr 2008 02:49:50 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:392:2667</guid>
      <author>Amos King</author>
      <link>http://forums.pragprog.com/forums/43/topics/392</link>
    </item>
    <item>
      <title>Suggestions for Recipes posted by Bobby Santiago @ Thu, 24 Apr 2008 07:34:45 -0000</title>
      <description>&lt;p&gt;One recipe I would appreciate: automated photo uploads to S3 using attachment_fu and BackgrounDRb, with the background process updating the UI with progress re thumbnail generation/saving.&lt;/p&gt;</description>
      <pubDate>Thu, 24 Apr 2008 07:34:45 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:173:2626</guid>
      <author>Bobby Santiago</author>
      <link>http://forums.pragprog.com/forums/43/topics/173</link>
    </item>
    <item>
      <title>fail early extension and patch posted by Trevor Turk @ Wed, 23 Apr 2008 17:07:31 -0000</title>
      <description>&lt;p&gt;I extended the &amp;#8220;fail early&amp;#8221; recipe a bit:&lt;br /&gt;&lt;a href="http://almosteffortless.com/2008/04/10/automatically-creating-loading-and-migrating-your-database/"&gt;http://almosteffortless.com/2008/04/10/automatically-creating-loading-and-migrating-your-database/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;And someone sent a patch that might be of interest to you:&lt;br /&gt;&lt;a href="http://groups.google.com/group/el-dorado-app/browse_thread/thread/9879757e10b1f7b9"&gt;http://groups.google.com/group/el-dorado-app/browse_thread/thread/9879757e10b1f7b9&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Thanks again for the awesome book!&lt;/p&gt;</description>
      <pubDate>Wed, 23 Apr 2008 17:07:31 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:379:2619</guid>
      <author>Trevor Turk</author>
      <link>http://forums.pragprog.com/forums/43/topics/379</link>
    </item>
    <item>
      <title>Sessions won't persist after setting session_domain posted by Sebastien Lamy @ Sat, 19 Apr 2008 14:19:24 -0000</title>
      <description>&lt;p&gt;Hi, I saw a message related to this topic &lt;a href="http://szeryf.wordpress.com/2008/01/21/cookie-handling-in-multi-domain-applications-in-ruby-on-rails/"&gt;here&lt;/a&gt;&lt;br /&gt;I tried this recipe but it didn&amp;#8217;t work for me (I don&amp;#8217;t know if it camed from the fact my main host was localhost at the moment testing this recipe).&lt;/p&gt;


	&lt;p&gt;The trick given on the post I link to worked for me, but only for domain with a dot inside (eg:not for localhost). I just aliased localhost.fr in /etc/host, and everything worked fine for development.&lt;/p&gt;</description>
      <pubDate>Sat, 19 Apr 2008 14:19:24 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:276:2607</guid>
      <author>Sebastien Lamy</author>
      <link>http://forums.pragprog.com/forums/43/topics/276</link>
    </item>
    <item>
      <title>Advanced Rails Recipes Rocks! posted by Mike Clark @ Fri, 11 Apr 2008 23:49:12 -0000</title>
      <description>&lt;p&gt;Thanks a bunch, Tom!  I can&amp;#8217;t tell you how humbling that is to hear.  I&amp;#8217;m very glad that the book&amp;#8217;s been helpful for you.&lt;/p&gt;</description>
      <pubDate>Fri, 11 Apr 2008 23:49:12 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:365:2580</guid>
      <author>Mike Clark</author>
      <link>http://forums.pragprog.com/forums/43/topics/365</link>
    </item>
    <item>
      <title>Advanced Rails Recipes Rocks! posted by Tom Harrison @ Fri, 11 Apr 2008 22:50:54 -0000</title>
      <description>&lt;p&gt;I have been reading along as each new version comes out.  It&amp;#8217;s a little freaky how new chapters keep getting added that provide recipes for &amp;#8230; exactly what I need to do at the current moment.&lt;/p&gt;


	&lt;p&gt;I have used probably 5 of them so far, and just looked at the current drop and compare to my task list for projects I am doing for my company, and whatdyaknow, several of them are in the book.&lt;/p&gt;


	&lt;p&gt;In a world of partially documented, outdated, kinda, sorta almost tells &lt;em&gt;most&lt;/em&gt; of the story Rails, it&amp;#8217;s worth every penny to get the whole solution.&lt;/p&gt;


	&lt;p&gt;Having said that, there&amp;#8217;s no way you could ever put a stake in the ground and say &amp;#8220;it&amp;#8217;s done!&amp;#8221;&amp;#8212;why not offer a &lt;strong&gt;subscription&lt;/strong&gt; to a book that simply promises to add new, relevant recipes and get rid of the old ones that have been incorporated into the framework, or are deprecated, or whatever.&lt;/p&gt;


	&lt;p&gt;I spent several hours yesterday trying to get an &lt;span class="caps"&gt;RSS&lt;/span&gt; feed working on my site.  Try Goolging &amp;#8220;rails rss feed&amp;#8221; &amp;#8211; several reasonable, if incomplete solutions from 2006 blog show some of what to do. A post on the rails group got me several other answers.  But it turns out I just needed the Atom Feed Helper that came out in Rails 2.0.  12 minutes later, I had my feed live&amp;#8212;all the time was in the first two hours of looking!&lt;/p&gt;


	&lt;p&gt;Anyway, thank you for writing this book.&lt;/p&gt;


	&lt;p&gt;Tom&lt;/p&gt;</description>
      <pubDate>Fri, 11 Apr 2008 22:50:54 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:365:2579</guid>
      <author>Tom Harrison</author>
      <link>http://forums.pragprog.com/forums/43/topics/365</link>
    </item>
    <item>
      <title>Multi model creation posted by Jason Yeckel @ Fri, 11 Apr 2008 18:35:41 -0000</title>
      <description>&lt;p&gt;&lt;a href="http://pastie.org/private/gykgytohbxpbbgmdwvzupq"&gt;http://pastie.org/private/gykgytohbxpbbgmdwvzupq&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;I am having an issue creating the model below the model created by the main model any pointers on this currently i am just goign to explicitly create them in order.&lt;/p&gt;


	&lt;p&gt;Jason y&lt;/p&gt;</description>
      <pubDate>Fri, 11 Apr 2008 18:35:41 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:364:2577</guid>
      <author>Jason Yeckel</author>
      <link>http://forums.pragprog.com/forums/43/topics/364</link>
    </item>
    <item>
      <title>Is it too late to submit a Recipe? posted by James B. Byrne @ Sat, 29 Mar 2008 02:53:51 -0000</title>
      <description>&lt;p&gt;&lt;a href="http://wiki.rubyonrails.com/rails/pages/HowToCreateYourOwnColumnMethods"&gt;http://wiki.rubyonrails.com/rails/pages/HowToCreateYourOwnColumnMethods&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 29 Mar 2008 02:53:51 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:339:2507</guid>
      <author>James B. Byrne</author>
      <link>http://forums.pragprog.com/forums/43/topics/339</link>
    </item>
    <item>
      <title>Is it too late to submit a Recipe? posted by Mike Clark @ Fri, 28 Mar 2008 16:12:31 -0000</title>
      <description>&lt;p&gt;Hi James -&lt;/p&gt;


	&lt;p&gt;Thanks for your interest.  Unfortunately, the book is already in production.  You might want to write it up in a blog, though.  :-)&lt;/p&gt;


	&lt;p&gt;Mike&lt;/p&gt;</description>
      <pubDate>Fri, 28 Mar 2008 16:12:31 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:339:2503</guid>
      <author>Mike Clark</author>
      <link>http://forums.pragprog.com/forums/43/topics/339</link>
    </item>
    <item>
      <title>Is it too late to submit a Recipe? posted by James B. Byrne @ Thu, 27 Mar 2008 19:39:56 -0000</title>
      <description>&lt;p&gt;I have created a short recipe to demonstrate how to create customized migration column methods (a la &amp;#8216;timestamps&amp;#8217;), which I believe is generally useful.&lt;/p&gt;</description>
      <pubDate>Thu, 27 Mar 2008 19:39:56 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:339:2498</guid>
      <author>James B. Byrne</author>
      <link>http://forums.pragprog.com/forums/43/topics/339</link>
    </item>
    <item>
      <title>problems with Encrypt Sensitive Data and rails 2.0.2? Errno::ENOENT: No such file or directory - /Users/jane/Development/actsassecure/config/crypto.yml   posted by Mike Clark @ Thu, 27 Mar 2008 17:03:26 -0000</title>
      <description>&lt;p&gt;I&amp;#8217;ve added crypto.yml to the recipe to avoid future confusion.&lt;/p&gt;


	&lt;p&gt;Thanks!&lt;/p&gt;


	&lt;p&gt;Mike&lt;/p&gt;</description>
      <pubDate>Thu, 27 Mar 2008 17:03:26 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:324:2497</guid>
      <author>Mike Clark</author>
      <link>http://forums.pragprog.com/forums/43/topics/324</link>
    </item>
    <item>
      <title>Multi-model forms posted by Alexander Ungur @ Wed, 26 Mar 2008 09:37:04 -0000</title>
      <description>&lt;p&gt;First of all, thank you for a great book. I found it very useful.&lt;/p&gt;


	&lt;p&gt;On the multi-models forms recipe, there&amp;#8217;s one little gotcha: all goes well and smooth until you get to the save part. There, things may go smooth if all your data in child rows is valid. Or you can even get nice validation errors if you use validates_associated. However if the save of child rows fails for whatever reasons (say, because of using callbacks, that properly return false hoping to break the save chain) you run out of luck. No child rows being saved and no errors whatsoever so that you can have a clue what&amp;#8217;s going on. In other words, to quote from AWDwR:&lt;/p&gt;


	&lt;p&gt;&amp;#8220;Finally, there&amp;#8217;s a danger here. If the child row cannot be saved (for example, because it fails validation), Active Record will not complain &amp;#8211; you&amp;#8217;ll get no indication that the row was not added to the database.&amp;#8221;&lt;/p&gt;


	&lt;p&gt;Perhaps it would be a good idea to remind the users of this recipe of that danger, might spare them of a few headaches :-)&lt;/p&gt;


	&lt;p&gt;Have a great day&lt;/p&gt;</description>
      <pubDate>Wed, 26 Mar 2008 09:37:04 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:337:2491</guid>
      <author>Alexander Ungur</author>
      <link>http://forums.pragprog.com/forums/43/topics/337</link>
    </item>
    <item>
      <title>problems with Encrypt Sensitive Data and rails 2.0.2? Errno::ENOENT: No such file or directory - /Users/jane/Development/actsassecure/config/crypto.yml   posted by Charles Harvey @ Sat, 22 Mar 2008 04:59:04 -0000</title>
      <description>&lt;p&gt;Hi Mike-&lt;/p&gt;


	&lt;p&gt;Thanks.  I could not find the details of the crypto.yml file in the recipe.  Your update here is a great help.&lt;/p&gt;


	&lt;p&gt;Best Regards-&lt;/p&gt;


	&lt;p&gt;Charles&lt;/p&gt;</description>
      <pubDate>Sat, 22 Mar 2008 04:59:04 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:324:2472</guid>
      <author>Charles Harvey</author>
      <link>http://forums.pragprog.com/forums/43/topics/324</link>
    </item>
    <item>
      <title>problems with Encrypt Sensitive Data and rails 2.0.2? Errno::ENOENT: No such file or directory - /Users/jane/Development/actsassecure/config/crypto.yml   posted by Mike Clark @ Fri, 21 Mar 2008 13:17:37 -0000</title>
      <description>&lt;p&gt;Charles -&lt;/p&gt;


	&lt;p&gt;Does your crypto.yml file look like this?&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
development:
  master_key: YOUR_SECRET_MASTER_KEY
  salt: YOUR_SALT
&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;

	&lt;p&gt;That&amp;#8217;s the format the MasterCryptoProvider class in the book assumes.  If your file is in that format, then I&amp;#8217;d need to see your master_crypo_provider.rb file to see what&amp;#8217;s on line 13.&lt;/p&gt;


	&lt;p&gt;Mike&lt;/p&gt;</description>
      <pubDate>Fri, 21 Mar 2008 13:17:37 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:324:2471</guid>
      <author>Mike Clark</author>
      <link>http://forums.pragprog.com/forums/43/topics/324</link>
    </item>
    <item>
      <title>problems with Encrypt Sensitive Data and rails 2.0.2? Errno::ENOENT: No such file or directory - /Users/jane/Development/actsassecure/config/crypto.yml   posted by Charles Harvey @ Wed, 19 Mar 2008 03:02:05 -0000</title>
      <description>&lt;p&gt;When going through the tutorial I get&lt;/p&gt;


	&lt;p&gt;Loading development environment (Rails 2.0.2)&lt;br /&gt;&amp;gt;&amp;gt; SecretPatient.create(:name =&amp;gt; &amp;#8216;John Doe&amp;#8217;, :address =&amp;gt; &amp;#8216;Somewhere Secret&amp;#8217;, :ssn =&amp;gt; &amp;#8216;012-345-6789&amp;#8217;)    &lt;br /&gt;Errno::ENOENT: No such file or directory &amp;#8211; /Users/jane/Development/actsassecure/config/crypto.yml&lt;/p&gt;


	&lt;p&gt;then I created a blank file called config/crypto.yml and try again and I get&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;from (irb):1&amp;gt;&amp;gt; SecretPatient.create(:name =&amp;gt; 'John Doe', :address =&amp;gt; 'Somewhere Secret', :ssn =&amp;gt; '012-345-6789')  &lt;br /&gt;NoMethodError: undefined method `[]' for false:FalseClass
from /Users/jane/Development/actsassecure/lib/master_crypto_provider.rb:13&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;I have the latest acts_as_secure&lt;br /&gt;rel_0_0_3:&lt;br /&gt;date: 2007-06-26&lt;/p&gt;


	&lt;p&gt;and &lt;br /&gt;ezcrypto (0.7)&lt;/p&gt;


	&lt;p&gt;Best Regards-&lt;/p&gt;


	&lt;p&gt;Charles&lt;/p&gt;


	&lt;p&gt;See the pastie for a nice view&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://pastie.caboo.se/167623"&gt;http://pastie.caboo.se/167623&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;jane-harveys-computer:~/Development/actsassecure jane$ script/console&lt;br /&gt;Loading development environment (Rails 2.0.2)&lt;br /&gt;&amp;gt;&amp;gt; SecretPatient.create(:name =&amp;gt; &amp;#8216;John Doe&amp;#8217;, :address =&amp;gt; &amp;#8216;Somewhere Secret&amp;#8217;, :ssn =&amp;gt; &amp;#8216;012-345-6789&amp;#8217;)  &lt;br /&gt;Errno::ENOENT: No such file or directory &amp;#8211; /Users/jane/Development/actsassecure/config/crypto.yml
        from /usr/local/lib/ruby/1.8/yaml.rb:143:in `initialize&amp;#8217;
        from /usr/local/lib/ruby/1.8/yaml.rb:143:in `open&amp;#8217;
        from /usr/local/lib/ruby/1.8/yaml.rb:143:in `load_file&amp;#8217;
        from /Users/jane/Development/actsassecure/lib/master_crypto_provider.rb:13
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_file&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:202:in `load_file&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:94:in `require_or_load&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:248:in `load_missing_constant&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:260:in `load_missing_constant&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:469:in `const_missing&amp;#8217;
        from /Users/jane/Development/actsassecure/app/models/secret_patient.rb:10
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_file&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:202:in `load_file&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:94:in `require_or_load&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:248:in `load_missing_constant&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing&amp;#8217;
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing&amp;#8217; &lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;So I created a blank config/crypto.yml file and tried again&lt;/li&gt;
	&lt;/ol&gt;


	&lt;pre&gt;&lt;code&gt;from (irb):1&amp;gt;&amp;gt; SecretPatient.create(:name =&amp;gt; 'John Doe', :address =&amp;gt; 'Somewhere Secret', :ssn =&amp;gt; '012-345-6789')  &lt;br /&gt;NoMethodError: undefined method `[]' for false:FalseClass
from /Users/jane/Development/actsassecure/lib/master_crypto_provider.rb:13
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_file'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:202:in `load_file'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:94:in `require_or_load'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:248:in `load_missing_constant'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:471:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:471:in `const_missing'
from /Users/jane/Development/actsassecure/app/models/secret_patient.rb:10
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:203:in `load_file'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:202:in `load_file'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:94:in `require_or_load'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:248:in `load_missing_constant'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:465:in `const_missing'
from (irb):2&amp;gt;&amp;gt;&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Wed, 19 Mar 2008 03:02:05 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:324:2463</guid>
      <author>Charles Harvey</author>
      <link>http://forums.pragprog.com/forums/43/topics/324</link>
    </item>
    <item>
      <title>Sugestion for Upload Chapter posted by David Wilbur @ Tue, 18 Mar 2008 18:26:54 -0000</title>
      <description>&lt;p&gt;also, if i want to have two (or more) places, in the site where one can upload.  say lyrics, covers, photos of artist, is there anything special that needs to be taken care of. each would have it&amp;#8217;s own table (probably) and would be (probably) generating overlapping id&amp;#8217;s would this need anything special done?  the answer being for saving to the file system is that it creates a named folder in the public folder thus each of these would have its own hierarchy in the filesystem&amp;#8230; there is a footnote that i missed on first reading that mentions that&amp;#8230; however&amp;#8230; at least for me it would seem to be something to mention in a more prominent way.&lt;/p&gt;</description>
      <pubDate>Tue, 18 Mar 2008 18:26:54 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:221:2460</guid>
      <author>David Wilbur</author>
      <link>http://forums.pragprog.com/forums/43/topics/221</link>
    </item>
    <item>
      <title>Recipe 26 (Sphinx) Problem posted by Alice @ Mon, 17 Mar 2008 18:11:51 -0000</title>
      <description>&lt;p&gt;Also a commenta bout the Sphinx recipe.&lt;/p&gt;


	&lt;p&gt;The @documents = @search.results assignment isn&amp;#8217;t necessary. @search is enumerable and if you .run it you can then just use it directly in the for/in comprehension.&lt;/p&gt;</description>
      <pubDate>Mon, 17 Mar 2008 18:11:51 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:310:2454</guid>
      <author>Alice</author>
      <link>http://forums.pragprog.com/forums/43/topics/310</link>
    </item>
    <item>
      <title>what to add still.. posted by Jean-Charles Carelli @ Tue, 11 Mar 2008 20:36:57 -0000</title>
      <description>&lt;p&gt;A more in depth look at ActsAsFerret. The current chapter installs the gem / plugin and says hello world. It would be great to cover some of the topics below. This information is out there via the docs, forums, and blogs. But the advanced rails recipes should have some advanced ferret examples.&lt;/p&gt;


	&lt;p&gt;- Multi Model Search&lt;br /&gt;- Advanced query syntax examples ( both &lt;span class="caps"&gt;SQL&lt;/span&gt;/ActiveRecord and Lucene )&lt;br /&gt;- Using &amp;#8216;more like this&amp;#8217; and find_with_ferret&lt;br /&gt;- Stop Words&lt;br /&gt;- Analyzers&lt;/p&gt;


	&lt;p&gt;It would change the scope of the book to include all of these topics. But please consider including a few.&lt;/p&gt;


	&lt;p&gt;Thanks!&lt;/p&gt;</description>
      <pubDate>Tue, 11 Mar 2008 20:36:57 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:164:2426</guid>
      <author>Jean-Charles Carelli</author>
      <link>http://forums.pragprog.com/forums/43/topics/164</link>
    </item>
    <item>
      <title>Recipe 26 (Sphinx) Problem posted by Katie Kelly @ Mon, 10 Mar 2008 22:25:16 -0000</title>
      <description>&lt;p&gt;I solved the problem by switching my sphinx version to r1112.  I was using r985 as was called out in an earlier version of the recipe.&lt;/p&gt;</description>
      <pubDate>Mon, 10 Mar 2008 22:25:16 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:310:2418</guid>
      <author>Katie Kelly</author>
      <link>http://forums.pragprog.com/forums/43/topics/310</link>
    </item>
    <item>
      <title>Recipe 26 (Sphinx) Problem posted by Katie Kelly @ Mon, 10 Mar 2008 21:52:31 -0000</title>
      <description>&lt;p&gt;Hello.  I&amp;#8217;m going through the &amp;#8220;Full-Text Search with Sphinx&amp;#8221; recipe and I&amp;#8217;ve run into a problem that I can&amp;#8217;t get past.  When I try to to do &amp;#8216;search.run&amp;#8217; on page 136 (after completing the tasks up to that point) I get an error that says, &amp;#8220;Ultrasphinx::DaemonError: searchd error (status: 1): client version is higher than daemon version (client is v.1.18, daemon is v.1.15)&amp;#8221;.  I can&amp;#8217;t find any traces of the versions that the error mentions or the text of the error message.  Does anyone have any suggestions?&lt;/p&gt;


	&lt;p&gt;Thanks,&lt;br /&gt;Katie&lt;/p&gt;</description>
      <pubDate>Mon, 10 Mar 2008 21:52:31 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:310:2417</guid>
      <author>Katie Kelly</author>
      <link>http://forums.pragprog.com/forums/43/topics/310</link>
    </item>
    <item>
      <title>Idea: Micro-books posted by Steve Erickson @ Mon, 10 Mar 2008 19:02:08 -0000</title>
      <description>&lt;p&gt;I was looking over the table of contents for the new Rails Recipies books.  While all of the recipes look great, I thought, wouldn&amp;#8217;t it be cool if somebody created a site that sold high quality recipes like this that you could purchase a recipe at a time.  Just an idea.&lt;/p&gt;</description>
      <pubDate>Mon, 10 Mar 2008 19:02:08 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:309:2416</guid>
      <author>Steve Erickson</author>
      <link>http://forums.pragprog.com/forums/43/topics/309</link>
    </item>
    <item>
      <title>Check_pending_migrations code (p.379) issues posted by Mark Lane @ Sun, 09 Mar 2008 20:36:06 -0000</title>
      <description>&lt;p&gt;Aloha everyone,&lt;/p&gt;


	&lt;p&gt;I have noticed some odd behavior from the check_pending_migrations code while watching the terminal window. The check_pending_migrations code results in this query being run 41 times when I start my application:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;(1) (0.000086)   SELECT version FROM schema_info&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;I have 39 tables including schema_info and 43 migrations.&lt;/p&gt;


	&lt;p&gt;This also happens right before the 41 queries above:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;(0) (0.000000)   Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
   vendor/plugins/query_stats/lib/active_record/connection_adapters/query_stats.rb:41:in `execute'
   vendor/plugins/query_stats/lib/active_record/connection_adapters/query_stats.rb:40:in `execute'
   config/initializers/check_pending_migrations.rb:5:in `new'
   config/initializers/check_pending_migrations.rb:5
   config/environment.rb:13&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;Does anyone have any ideas about what might be causing this and how to fix it? I like the code, but I am not going to use it if it adds 41 queries to each startup.&lt;/p&gt;


	&lt;p&gt;Thanks,&lt;/p&gt;


	&lt;p&gt;DrMark&lt;/p&gt;</description>
      <pubDate>Sun, 09 Mar 2008 20:36:06 -0000</pubDate>
      <guid isPermaLink="false">forums.pragprog.com:43:306:2412</guid>
      <author>Mark Lane</author>
      <link>http://forums.pragprog.com/forums/43/topics/306</link>
    </item>
  </channel>
</rss>
