You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this qualifies as an issue, but leaving it here in case you want to mention it somewhere @dewski.
Our team was having an issue where the kss layout file would occasionally fail to load, and we would only see a rendered view with no layout. Inspection of our logs found that because Kss::ApplicationController inherits from ::ApplicationController, there was some code running in our application's before_filter methods that was causing the layout to fail to load. We've solved this by having Kss::ApplicationController inherit from ActionController::Base rather than ::ApplicationController.
The text was updated successfully, but these errors were encountered:
I've seen a few people get bit by this and it's unfortunate. I liked that it inherited from ApplicationController that way any helpers or authentication filters were preserved. This sounds like a bug in Rails itself, do you remember which Rails version you were on by chance?
I don't, unfortunately. I think it's very likely that our app is just fairly (potentially over-)complicated, not necessarily that this is a bug in Rails.
I don't think this qualifies as an issue, but leaving it here in case you want to mention it somewhere @dewski.
Our team was having an issue where the kss layout file would occasionally fail to load, and we would only see a rendered view with no layout. Inspection of our logs found that because Kss::ApplicationController inherits from ::ApplicationController, there was some code running in our application's before_filter methods that was causing the layout to fail to load. We've solved this by having Kss::ApplicationController inherit from ActionController::Base rather than ::ApplicationController.
The text was updated successfully, but these errors were encountered: