Comments on: Rails, ActiveRecord and Distributed Ruby (DRb) in a nutshell http://amazing-development.com/archives/2006/03/16/rails-and-distributed-ruby-in-a-nutshell/ ruby, java and the rest Fri, 21 Nov 2008 03:35:14 +0000 http://wordpress.org/?v=2.5.1 By: Frank Spychalski http://amazing-development.com/archives/2006/03/16/rails-and-distributed-ruby-in-a-nutshell/#comment-14627 Frank Spychalski Sun, 10 Dec 2006 20:37:26 +0000 http://amazing-development.com/archives/2006/03/16/rails-and-distributed-ruby-in-a-nutshell/#comment-14627 Neat trick! I didn't know about Dir[...], thanks Scott. Neat trick! I didn’t know about Dir[...], thanks Scott.

]]>
By: Scott Woods http://amazing-development.com/archives/2006/03/16/rails-and-distributed-ruby-in-a-nutshell/#comment-13378 Scott Woods Thu, 07 Dec 2006 13:00:34 +0000 http://amazing-development.com/archives/2006/03/16/rails-and-distributed-ruby-in-a-nutshell/#comment-13378 (Actually, you can leave off the "sort" method, of course) (Actually, you can leave off the “sort” method, of course)

]]>
By: Scott Woods http://amazing-development.com/archives/2006/03/16/rails-and-distributed-ruby-in-a-nutshell/#comment-13377 Scott Woods Thu, 07 Dec 2006 12:58:35 +0000 http://amazing-development.com/archives/2006/03/16/rails-and-distributed-ruby-in-a-nutshell/#comment-13377 You can require all of your models this way: Dir["app/models/**/*.rb"].sort.each { |file| require file } You can require all of your models this way:

Dir["app/models/**/*.rb"].sort.each { |file| require file }

]]>