On Sep 4, 9:36 am, ms <[email protected]> wrote:
> Hi,
>
> I am very thankful for you answer.
>
> Let me answer you points: Yes, it's the same machine and I use the
> same server: webrick. You second point: Before my post, I copied the
> configurations from the test environment to development environment
> and then I've got no problems. As you mentioned, the
> config.action_controller.perform_caching ist the problem. If it is set
> to false, I face the problems described. But development with
> config.action_controller.perform_caching set to true does not reload
> the source code after a new request, so I have to restart the server
> every time I make changes to the source.
>
If class caching (or rather the absence thereof) is causing the
problem it is usually a sign that you are confusing the dependencies
system. One way of doing this is to use require to require classes
that are part of your application - you should need to do this at all
since rails will load the classes for you (use require_dependency if
you have to)
> Then I tried the following: I extracted my methods and put them into a
> module. I included this module and suddenly those methods I extracted
> were existent again, also after a few reloads. But still, the
> association proxy methods are missing. I can't explain this to me.
I wouldn't spend time on looking for workaround like this - you will
probably just confuse the issue.
Fred
>
> Do you have another idea?
>
> Thank you very much.
> ms
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---