Hi all, I'm using the latest rails 2.3.5 and put some models in subfolders like this:
models/my/details/texts.rb models/my/details/attributes.rb ... The models themselves are defined like this: class My::Details::Texts < ActiveRecord::Base .... class My::Details::Attributes < ActiveRecord::Base ... In development mode (using webrick), everything works fine. But in production mode (using thin), I get these errors: A ArgumentError occurred in attributes#show: My::Details is not missing constant Attributes! /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:417:in `load_missing_constant' A ArgumentError occurred in attributes#show: My::Details is not missing constant Texts! /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:417:in `load_missing_constant' So I wonder if it's okay to place models in subfolders at all? If yes, why does this error occur and how to fix it? :) Thanks, Corin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

