[Rails] Re: Strange rake error with config.cache_classes

2011-08-12 Thread Jesse S.
I've run into a similar issue where a variable contained nil when it should always be an array (the controller ensures this, the view is where the error was raised.) Anyways, setting config.eager_load_paths = false appears to fix the issue which only occurs when config.cache_classes = true. It

[Rails] Re: Re: Re: Rails 3 Routing: Namespace'd Controllers?

2011-03-03 Thread Jesse S.
Stefan Buhr wrote in post #897683: Conrad Taylor wrote: Sent from my iPhone Please post the Rails 2.x route that you would like to convert to Rails 3.0? Hey Conrad, I think I made a mistake. I was under the impression that following code in rails 2 map.namespace :admin do |admin|