Behaviors work only partialy in production

While working perfectly in development I have a problem with a few of
the
behaviors in production.
Mainly the page missing and the mailer ones.
I tend to think not all behaviors are loaded, any reason for that
happening
only in production?
Dror

dror tirosh wrote:

While working perfectly in development I have a problem with a few of the
behaviors in production.
Mainly the page missing and the mailer ones.

What kind of problem are you having with the page missing behavior? Are
you using 0.5? Gem or Subversion checkout?

I tend to think not all behaviors are loaded, any reason for that happening
only in production?

None that I can think of. Behaviors are required from environment.rb:

Auto-require behaviors

Dir["#{RADIANT_ROOT}/app/behaviors/*_behavior.rb"].each do |behavior|
require_dependency behavior
end

So there is no distinction between how they are loaded in production and
development modes.


John L.
http://wiseheartdesign.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs