0

I am attempting to remove caching and discovered this post:

How to prevent browser page caching in Rails

The problem it along with a number of other posts relating to ruby rails refer to an application_controller.rb file that my project does not have. I inherited this system so wasnt part of its initial development. Can someone explain why this would be the case? I am using padrino and in my config folder i have the following files:

  • Deploy
    • production.rb
    • staging.rb
  • Recipes
    • base.rb
    • nginx.rb
    • rbenv.rb
  • apps.rb
  • boot.rb
Community
  • 1
  • 1
user3385136
  • 513
  • 1
  • 7
  • 20
  • You're saying your app doesn't have a file called application_controller.rb in the app/controllers/ folder ? If that's the case, do you have any controllers at all in the folder? If yes, do they inherit from something ? i.e: class XController < ApplicationController – Alexandre Voyer Aug 20 '15 at 13:51
  • @Alexandre Voyer I have an app.rb file in the app folder but outside controllers folder. It starts with class ProjectName < Padrino::Application – user3385136 Aug 20 '15 at 14:40

1 Answers1

1

From what you've provided me I can say that I'm quite certain the project is using the Padrino ruby framework and not rails :)

See: http://www.padrinorb.com/

Alexandre Voyer
  • 809
  • 6
  • 11