search for: requiredepend

Displaying 5 results from an estimated 5 matches for "requiredepend".

2007 Jan 10
1
Solution for undefined method `use_transactional_fixtures=' ... problem
...) You should check all your dependencies, all the lines containing require and especially require_dependency. You have probably done a refactoring "Rename" a class and forgot to propagate the change everywhere! More details on http://21croissants.blogspot.com/2007/01/fighting-invisible-requiredependency.html Jean-Michel --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe...
2006 Jun 01
3
Requiring /lib files in a cross-platform way.
Hi. When you have library foo.rb in your Rails project /lib directory, I notice that on some platforms - e.g. Windows with WEBrick as a server - you can require it by simply: require ''lib/foo'' However on other platforms - e.g. Debian with Lighttpd server via FastCGI - this does not work, and you need to specify RAILS_ROOT explicitly, like this: require
2006 Apr 29
1
reloading include-modules inside controller not working
Hi guys, I would expect an ActionController-derived class to reload _completely_ in development mode. class FooController < ApplicationController include FancyStuffSupport def index # bla end # more actions here end However, the ''FancyStuffSupport'' is not reloaded, only the ''FooController'' itself. Can this behaviour be changed? I feel back
2005 Sep 27
2
caching in development mode
Hi, I created some new models that do not extend ActiveRecord::Base. For some reason, these classes are being cached in development mode. Controllers are not cached, neither are models extending ActiveRecord::Base. Has anyone else seen this? Here are my relevant development.rb settings: Dependencies.mechanism = :load
2005 Apr 28
5
fcgi woes
Hi all I''m running rails on apache with fcgi under windows I have a module which I''ve included in one of my models, but if I change any code in the module, i have to restart apache in order for the changes to take effect. i tried some suggestions from folks in the IRc channel, namely to put RAILS_ENV = ''development'' in environment.rb but that doesn''t