Apologies if already mentioned, but I've used this plugin plenty:<br><a href="http://agilewebdevelopment.com/plugins/activerecord_defaults">http://agilewebdevelopment.com/plugins/activerecord_defaults</a><br clear="all">
<br>Behind the scenes it aliases initialize as discussed, you can pass it blocks etc, and it does a good job of handling associations.<br><br>As for debugging, having lines in your model(s) like:<br><br>default :name => :roque_santa_cruz
<br><br>...is clear enough for me.<br><br>D<br>-- <br>Dave Nolan<br>mob: 07966 517 584<br>tel: 0845 458 7495<br><a href="http://textgoeshere.org.uk">http://textgoeshere.org.uk</a><br>online publishing from start to finish