# ArgumentError (comparison of Time with String failed) in stylesheet controller

**URL:** <https://meta.discourse.org/t/argumenterror-comparison-of-time-with-string-failed-in-stylesheet-controller/257380>\
**Category:** Bug\
**Tags:** unsupported-install\
**Created:** [March 7, 2023, 2:27pm UTC](https://meta.discourse.org/t/argumenterror-comparison-of-time-with-string-failed-in-stylesheet-controller/257380 "2023-03-07T14:27:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [March 7, 2023, 2:27pm UTC](https://meta.discourse.org/t/argumenterror-comparison-of-time-with-string-failed-in-stylesheet-controller/257380/1 "2023-03-07T14:27:26Z")

</div>

I have a fairly typical subfolder/reverse proxy setup with Apache as the reverse proxy.

First there were issues with insecure assets, so I forced\_https in ENV. Now when retrieving assets like `stylesheets/color_definitions_light_7_1_6cfae4de9c47a1b8ed3d5748018236d10ea9107e.css?__ws=site.com`

Maybe I’m doing something stupid, but I’m getting this:

```plaintext
ArgumentError (comparison of Time with String failed)
app/controllers/stylesheets_controller.rb:66:in `<='
app/controllers/stylesheets_controller.rb:66:in `show_resource'
app/controllers/stylesheets_controller.rb:19:in `show'
app/controllers/application_controller.rb:414:in `block in with_resolved_locale'
app/controllers/application_controller.rb:414:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:74:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:369:in `call'
config/initializers/100-quiet_logger.rb:20:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
lib/middleware/enforce_hostname.rb:24:in `call'
lib/middleware/request_tracker.rb:228:in `call'

```

---

_[View the full topic](https://meta.discourse.org/t/argumenterror-comparison-of-time-with-string-failed-in-stylesheet-controller/257380)._
