When deploying with mongrel, Rails 2.3.8 will run in a number of problems, described and discussed here: https://rails.lighthouseapp.com/projects/8994/tickets/4690 A first solution was suggested here: https://gist.github.com/471663 An enhanced solution was suggested here: https://gist.github.com/826692 This commit implements the latter. This is actual especially if you are deploying FFC onto shared hosting environments where you have no direct control of the entire software stack. For instance, A2Hosting does not support phusion, but offers Mongrel, and therefore this patch is necessary.
This reverts commit d1e2007.
…now treated as a separate entity, distinct from controller and legacy view hooks. However, they both still use the same @@responder variable to store the classes that implement a given hook. View hooks are now stored as Procs in a hash instead of being defined as methods on the class. This allows a Callback subclass to chain data operations for the same hook. * Improved documentation and tidied up code. * Added specs for chaining view hook operations, created new CallbackSpecHelper module to contain helper classes and methods.
…en content can be appended or prepended, or replace or remove the block entirely. Is fully backwards compatible with existing view hooks
(cherry picked from commit 4b028dc)
…s/**/lib/tasks (cherry picked from commit 91c1eac)
(cherry picked from commit 2697e35c0467c121b95d3a0c36555fc397b99883)
…verride default views