<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Craig Ambrose: Comments</title>
    <link>http://blog.craigambrose.com</link>
    <language>en</language>
    <webMaster>craig@craigambrose.com (Craig Ambrose)</webMaster>
    <copyright>Copyright 2007-2008</copyright>
    <ttl>60</ttl>
    <pubDate>Fri, 04 Jul 2008 02:58:50 GMT</pubDate>
    <description>Agile Web Development</description>
    <item>
      <title>Redbox doesn&#8217;t work for me....</title>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1038</link>
      <pubDate>Fri, 04 Jul 2008 02:58:50 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1038</link>
      <author>dario</author>
      <description>&lt;p&gt;Redbox doesn&amp;#8217;t work for me. Even the simplest &amp;#8220;link_to_redbox&amp;#8221;.&lt;/p&gt;&lt;p&gt;My configuration is: rails 2.1.0&lt;br/&gt;redbox svn version 15&lt;/p&gt;&lt;p&gt;The problem is redbox_spinner.gif appears and stays forever. Here is a screenshot: http://i25.tinypic.com/16izbxi.jpg&lt;/p&gt;&lt;p&gt;Thanks. &lt;br/&gt;Dario&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/"&gt;Redbox Release 2&lt;/a&gt;</description>
    </item>
    <item>
      <title>Did anyone ever figure out...</title>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1037</link>
      <pubDate>Tue, 01 Jul 2008 15:18:54 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1037</link>
      <author>James Smith</author>
      <description>&lt;p&gt;Did anyone ever figure out how to do Error validation in a redbox w/ a form? Such as updating the flash w/ the errors?&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/"&gt;Redbox - A rails compatible lightbox&lt;/a&gt;</description>
    </item>
    <item>
      <title>Oops, it messed up my...</title>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1036</link>
      <pubDate>Fri, 20 Jun 2008 08:09:20 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1036</link>
      <author>Johnny Rodgers</author>
      <description>&lt;p&gt;Oops, it messed up my example select helper.  Here it is again:&lt;/p&gt;&lt;p&gt;&amp;lt;%= select &amp;#8216;user&amp;#8217;, &amp;#8216;gender&amp;#8217;, { &amp;#8221;&amp;#8221; =&amp;gt; &amp;#8221;&amp;#8221;, &amp;#8220;Male&amp;#8221; =&amp;gt; &amp;#8220;M&amp;#8221;, &amp;#8220;Female&amp;#8221; =&amp;gt; &amp;#8220;F&amp;#8221; }, {}, { :class =&amp;gt; &amp;#8220;redbox_select&amp;#8221; } %&amp;gt;&lt;/p&gt;&lt;p&gt;Hope that works!&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/"&gt;Redbox - A rails compatible lightbox&lt;/a&gt;</description>
    </item>
    <item>
      <title>RE: Andrea, cfnm, and Craig...</title>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1035</link>
      <pubDate>Fri, 20 Jun 2008 08:07:11 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1035</link>
      <author>Johnny Rodgers</author>
      <description>&lt;p&gt;RE: Andrea, cfnm, and Craig (hiding select elements)&lt;/p&gt;&lt;p&gt;For anyone else wanting to use select form elements in their Redbox, there&amp;#8217;s a simple workaround that I&amp;#8217;ve been using.&lt;/p&gt;&lt;p&gt;First, assign your select inputs a class of &amp;#8216;redbox_select&amp;#8217;:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;"", "Male" =&amp;amp;gt; "M", "Female" =&amp;amp;gt; "F" }, {}, { :class =&amp;amp;gt; "redbox_select" } %&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then, make the following change in redbox.js :&lt;br/&gt;// in hideSelectBoxes() function&lt;br/&gt;// &lt;span class="caps"&gt;BEFORE&lt;/span&gt;:&lt;br/&gt;for (i = 0; i != selects.length; i++) {&lt;br/&gt;    selects[i].style.visibility = &amp;#8220;hidden&amp;#8221;;&lt;br/&gt;}&lt;br/&gt;// &lt;span class="caps"&gt;AFTER&lt;/span&gt;:&lt;br/&gt;for (i = 0; i != selects.length; i++) {&lt;br/&gt;    if (!selects[i].hasClassName(&amp;#8216;redbox_select&amp;#8217;)) {&lt;br/&gt;        selects[i].style.visibility = &amp;#8220;hidden&amp;#8221;;&lt;br/&gt;    }&lt;br/&gt;}&lt;/p&gt;&lt;p&gt;This simple checks if the select that the function is attempting to hide has the &amp;#8216;redbox_select&amp;#8217; class, and if so, skips it.&lt;/p&gt;&lt;p&gt;Hope someone finds this useful.  Thanks for a handy plugin, Craig.  The one thing I&amp;#8217;ve been wishing for in Redbox is a link_to_function_redbox helper that would accept an &lt;span class="caps"&gt;RJS&lt;/span&gt; block.&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/"&gt;Redbox - A rails compatible lightbox&lt;/a&gt;</description>
    </item>
    <item>
      <title>Other late-comers to this page...</title>
      <link>http://blog.craigambrose.com/past/2007/12/5/leaving_the_beaten_track_with/#c1034</link>
      <pubDate>Thu, 12 Jun 2008 19:47:14 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2007/12/5/leaving_the_beaten_track_with/#c1034</link>
      <author>Simon B.</author>
      <description>&lt;p&gt;Other late-comers to this page (like me :) could benefit of looking up Brynary and some newer posts on unit vs. story or behaviour driven development.&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2007/12/5/leaving_the_beaten_track_with/"&gt;Leaving the beaten track with RSpec&lt;/a&gt;</description>
    </item>
    <item>
      <title>Hi,i have used the redbox...</title>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1033</link>
      <pubDate>Tue, 10 Jun 2008 10:15:47 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1033</link>
      <author>Ravi vardhan </author>
      <description>&lt;p&gt;Hi,&lt;/p&gt;&lt;pre&gt;&lt;code&gt;i have used the redbox in my rails app.its working fine&lt;br/&gt;But i didn't get lightbox middle of the page.i am getting left side and upper of the page.&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;how to solve this please help me.&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;my os :ubuntu&lt;br/&gt;browser :firefox&lt;br/&gt;rails 1.2.3&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/"&gt;Redbox Release 2&lt;/a&gt;</description>
    </item>
    <item>
      <title>Good day sir.I just want...</title>
      <link>http://blog.craigambrose.com/past/2008/2/9/respond_toemail_or_how_to_handle/#c1032</link>
      <pubDate>Wed, 04 Jun 2008 02:55:50 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2008/2/9/respond_toemail_or_how_to_handle/#c1032</link>
      <author>Gerald</author>
      <description>&lt;p&gt;Good day sir.&lt;/p&gt;&lt;p&gt;I just want to ask if this article of your&amp;#8217;s are also applicable to those websites that does not use rails?&lt;/p&gt;&lt;p&gt;Thank you and Regards,&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2008/2/9/respond_toemail_or_how_to_handle/"&gt;respond_to.email, or how to handle incoming emails in rails RESTfully&lt;/a&gt;</description>
    </item>
    <item>
      <title>When I run ruby script/plugin...</title>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1031</link>
      <pubDate>Sun, 01 Jun 2008 02:54:42 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1031</link>
      <author>bleh</author>
      <description>&lt;p&gt;When I run ruby script/plugin install svn://rubyforge.org/var/svn/ambroseplugins/redbox&lt;/p&gt;&lt;p&gt;Then it pulls down all the files into vendor/plugins/redbox (Exported revision 15), but then it says:&lt;/p&gt;&lt;p&gt;Plugin not found: [&amp;#8220;svn://rubyforge.org/var/svn/ambroseplugins/redbox&amp;#8221;]&lt;/p&gt;&lt;p&gt;I tried cd&amp;#8217;ing into that directory to run &amp;#8220;rake update_scripts&amp;#8221; and I get the following output:&lt;/p&gt;&lt;p&gt;rake aborted!&lt;br/&gt;private method `copy&amp;#8217; called for File:Class&lt;br/&gt;/home/bleh/rails/foo/vendor/plugins/redbox/Rakefile:28&lt;br/&gt;(See full trace by running task with&amp;#8212;trace)&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/"&gt;Redbox - A rails compatible lightbox&lt;/a&gt;</description>
    </item>
    <item>
      <title>Hello,I have on my page...</title>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1030</link>
      <pubDate>Sun, 25 May 2008 23:51:13 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1030</link>
      <author>Joel</author>
      <description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have on my page a list of promotion items with a &amp;#8220;Details&amp;#8221; link to a&lt;br/&gt;popup window ( using redbox ) that gives more precise details about&lt;br/&gt;the promotion item. However I would like to add next and previous&lt;br/&gt;buttons on my popup Window so that the user does not need to close the&lt;br/&gt;current one and click on another promotion details link.&lt;/p&gt;&lt;p&gt;Is this possible ? I thought about a solution that would close the&lt;br/&gt;actual window and load another one corresponding to the next promotion&lt;br/&gt;item details. But I think we can just load the details through ajax&lt;br/&gt;but I don&amp;#8217;t know how to exactly do this using.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Joel&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/"&gt;Redbox Release 2&lt;/a&gt;</description>
    </item>
    <item>
      <title>Original script had quite a...</title>
      <link>http://blog.craigambrose.com/past/2007/3/1/a-rake-task-for-database-backups/#c1029</link>
      <pubDate>Mon, 19 May 2008 01:20:32 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2007/3/1/a-rake-task-for-database-backups/#c1029</link>
      <author>David Krmpotic</author>
      <description>&lt;p&gt;Original script had quite a few problems for me&amp;#8230; I made it work (great):&lt;/p&gt;&lt;p&gt;http://pastie.caboo.se/199267&lt;/p&gt;&lt;p&gt;require &amp;#8216;find&amp;#8217;&lt;/p&gt;&lt;p&gt;namespace :db do  &lt;/p&gt;&lt;pre&gt;&lt;code&gt;desc "Backup the database to a file. Options: DIR=base_dir RAILS_ENV=production MAX=20"&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;task :backup =&amp;amp;gt; [:environment] do&lt;br/&gt;  datestamp = Time.now.strftime("%Y-%m-%d_%H-%M-%S")    &lt;br/&gt;  base_path = ENV["DIR"] || "db" &lt;br/&gt;  backup_base = File.join(base_path, 'backup')&lt;br/&gt;  backup_folder = File.join(backup_base, datestamp)&lt;br/&gt;  backup_file = File.join(backup_folder, "#{RAILS_ENV}_dump.sql.gz")   &lt;br/&gt;  FileUtils.mkdir_p(backup_folder)&lt;br/&gt;  db_config = ActiveRecord::Base.configurations[RAILS_ENV]&lt;br/&gt;  pass = ''&lt;br/&gt;  pass = '-p' + db_config['password'] if db_config['password']&lt;br/&gt;  sh "mysqldump -u #{db_config['username']} #{pass} #{db_config['database']} -Q &amp;mdash;add-drop-table -O add-locks=FALSE -O lock-tables=FALSE | gzip -c &amp;amp;gt; #{backup_file}"     &lt;br/&gt;  dir = Dir.new(backup_base)&lt;br/&gt;  all_backups = dir.entries[2..-1].sort.reverse&lt;br/&gt;  puts "Created backup: #{backup_file}" &lt;br/&gt;  max_backups = (ENV["MAX"] || 20).to_i&lt;br/&gt;  puts max_backups&lt;br/&gt;  unwanted_backups = all_backups[max_backups..-1] || []&lt;br/&gt;  for unwanted_backup in unwanted_backups&lt;br/&gt;    FileUtils.rm_rf(File.join(backup_base, unwanted_backup))&lt;br/&gt;    puts "deleted #{unwanted_backup}" &lt;br/&gt;  end&lt;br/&gt;  puts "Deleted #{unwanted_backups.length} backups, #{all_backups.length - unwanted_backups.length} backups available" &lt;br/&gt;end&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;end&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2007/3/1/a-rake-task-for-database-backups/"&gt;A Rake Task for Database Backups&lt;/a&gt;</description>
    </item>
    <item>
      <title>Just an update to the...</title>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1028</link>
      <pubDate>Thu, 15 May 2008 07:38:43 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1028</link>
      <author>Colin</author>
      <description>&lt;p&gt;Just an update to the issue I mentioned above. Having some more time yesterday I returned to the slow loading background. Turns out it was a css class that the designer used, the css class was for a flash area and it was called &amp;#8220;alert&amp;#8221;.&lt;/p&gt;&lt;p&gt;Removed that and all was fine. Can now roll it out :)&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/"&gt;Redbox Release 2&lt;/a&gt;</description>
    </item>
    <item>
      <title>Hello,just wanted to know if...</title>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1027</link>
      <pubDate>Wed, 14 May 2008 11:40:33 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1027</link>
      <author>jsoor</author>
      <description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;just wanted to know if by now, the plugin works well on internet explorer.&lt;/p&gt;&lt;p&gt;And another question not completely related to redbox : does anyone know a plugin for firefox or something to install on mac os to be able to test web sites and apps on ie on mac.&lt;/p&gt;&lt;p&gt;Thanks a lot&lt;br/&gt;;-)&lt;/p&gt;&lt;p&gt;Joel&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/"&gt;Redbox - A rails compatible lightbox&lt;/a&gt;</description>
    </item>
    <item>
      <title>If I set glade to...</title>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1026</link>
      <pubDate>Tue, 29 Apr 2008 20:56:29 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1026</link>
      <author>Atlanta Realtor</author>
      <description>&lt;p&gt;If I set glade to be sinewstrengthvague than the position of the redBox popup classical education, then cursor is ok. If I gradually push the lowest point of the containing div until it reaches the input box&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/"&gt;Redbox - A rails compatible lightbox&lt;/a&gt;</description>
    </item>
    <item>
      <title>As per the advice of...</title>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1025</link>
      <pubDate>Fri, 25 Apr 2008 23:42:41 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/#c1025</link>
      <author>Billy</author>
      <description>&lt;p&gt;As per the advice of others on here, the plugin javascript source file is broken. You will need to fetch the JS file directly from Craig&amp;#8217;s demo site at http://www.craigambrose.com/javascripts/redbox.js&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/8/16/redbox-a-rails-compatible-lightbox/"&gt;Redbox - A rails compatible lightbox&lt;/a&gt;</description>
    </item>
    <item>
      <title>I was having the Element.setTop...</title>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1024</link>
      <pubDate>Wed, 23 Apr 2008 13:06:05 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/#c1024</link>
      <author>Ann Ames</author>
      <description>&lt;p&gt;I was having the Element.setTop problem too.  I was curious to see why the demos on this site worked when I couldn&amp;#8217;t get the downloaded code to work in my own app.  I looked at the demos in Firebug and discovered it&amp;#8217;s not the same redbox.js&amp;#8230;and the demo code doesn&amp;#8217;t include calls to Element.setTop.  I copied the contents from redbox.js out of firebug and into my local file, and I no longer have the error.  Since there is no version information in redbox.js, I can&amp;#8217;t tell which is the newer code&amp;#8230;but the version on the demo site certainly seems to work, so I&amp;#8217;m going with that for now.&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2006/9/22/redbox-release-2/"&gt;Redbox Release 2&lt;/a&gt;</description>
    </item>
    <item>
      <title>Maruis, in response to your...</title>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1023</link>
      <pubDate>Mon, 21 Apr 2008 22:18:51 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1023</link>
      <author>Craig Ambrose</author>
      <description>&lt;p&gt;Maruis, in response to your question, lets assume nesting as follows:&lt;/p&gt;&lt;p&gt;map.resources :groups do |group|&lt;br/&gt;  group.resources :users&lt;br/&gt;end&lt;/p&gt;&lt;p&gt;A link with hash notation to the user edit action would look like this:&lt;/p&gt;&lt;p&gt;link_to &amp;#8216;Edit User&amp;#8217;, :controller =&amp;gt; &amp;#8216;users&amp;#8217;, :action =&amp;gt; &amp;#8216;edit&amp;#8217;, :id =&amp;gt; @user, :group_id =&amp;gt; &amp;#8217;@group&lt;/p&gt;&lt;p&gt;The order of parameters in that hash is of course not important. I like to always start with controller and then action, but any combination of further params is fine providing you&amp;#8217;re consistant.&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/"&gt;I sold my cow and all I got were these url helpers&lt;/a&gt;</description>
    </item>
    <item>
      <title>Thanks Geoff, I should have...</title>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1022</link>
      <pubDate>Mon, 21 Apr 2008 22:08:38 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1022</link>
      <author>Craig Ambrose</author>
      <description>&lt;p&gt;Thanks Geoff, I should have covered that.&lt;/p&gt;&lt;p&gt;It&amp;#8217;s certainly quite true that you don&amp;#8217;t want to go around willy nilly refactoring routes after a site has gone into production. The time when I find myself doing it the most is during the development of the site. In an agile process, the client often seems to change their mind a lot while the site is being built (as they should), and also I find that I change my mind about the structure of resources and wish to move things around between controllers.&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/"&gt;I sold my cow and all I got were these url helpers&lt;/a&gt;</description>
    </item>
    <item>
      <title>The argument for refactoring URLs...</title>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1021</link>
      <pubDate>Mon, 21 Apr 2008 21:10:55 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1021</link>
      <author>Geoffrey Grosenbach</author>
      <description>&lt;p&gt;The argument for refactoring URLs has never made sense to me. Do you really want to break all the links to your site from search engines and other sites?&lt;/p&gt;&lt;p&gt;I use the redirect routing plugin and some integration tests to cover my arse in that department.&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/"&gt;I sold my cow and all I got were these url helpers&lt;/a&gt;</description>
    </item>
    <item>
      <title>I&#8217;ve also had experience with...</title>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1020</link>
      <pubDate>Mon, 21 Apr 2008 05:25:30 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/#c1020</link>
      <author>Maruis Marais</author>
      <description>&lt;p&gt;I&amp;#8217;ve also had experience with this issue. It is a bit of a pain to refactor your views when you change the nesting of two of your resources.&lt;/p&gt;&lt;p&gt;That brings me to my question.&lt;/p&gt;&lt;p&gt;How would you explicitly handle nested resources using the hash notation?&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2008/4/20/i_sold_my_cow_and/"&gt;I sold my cow and all I got were these url helpers&lt;/a&gt;</description>
    </item>
    <item>
      <title>Ah, I found it &#8230;...</title>
      <link>http://blog.craigambrose.com/past/2007/3/1/a-rake-task-for-database-backups/#c1019</link>
      <pubDate>Sun, 20 Apr 2008 19:59:43 GMT</pubDate>
      <link>http://blog.craigambrose.com/past/2007/3/1/a-rake-task-for-database-backups/#c1019</link>
      <author>Peter Vandenabeele</author>
      <description>&lt;p&gt;Ah, I found it &amp;#8230; I used this alias in config/database.yml&lt;/p&gt;&lt;p&gt;development: backup_production&lt;br/&gt;backup_production:&lt;br/&gt;  adapter: mysql&lt;br/&gt;...&lt;/p&gt;&lt;p&gt;and as a result this function:&lt;/p&gt;&lt;p&gt;ActiveRecord::Base.configurations[RAILS_ENV]&lt;/p&gt;&lt;p&gt;did not return the expected hash of database connection parameters, but only the name of the alias (&amp;#8220;backup_production&amp;#8221;).&lt;/p&gt;&lt;p&gt;If change my config/database.yml to&lt;/p&gt;&lt;p&gt;development:&lt;br/&gt;  adapter: mysql&lt;br/&gt;...&lt;/p&gt;&lt;p&gt;it works as expected. Could this be a problem in the way the aliasing in the database.yml file is interpreted ?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Peter&lt;/p&gt;&lt;p&gt;Posted to: &lt;a href="http://blog.craigambrose.com/past/2007/3/1/a-rake-task-for-database-backups/"&gt;A Rake Task for Database Backups&lt;/a&gt;</description>
    </item>
  </channel>
</rss>
