It really works !
This is Ruby on Rails running on AWSLambda !
Rails version: 6.0.3.4
Ruby version: ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
TEST_IF_ENV_VAR_WORK it does work
Webpacker + StimulusJS test
If you see this message in color BLUE then StimulusJS is loaded via Webpacker/Webpack compiled on the fly
Webpack based custom CSS test
This text should be green and bold as the CSS is loaded from Webpack
Items stored in DynamoDB loaded by Dynamoid gem
Note: links are loaded directly when page is served
This is Time.now
2022-05-17 00:02:37 +0000
Redis based Rails cache
and this is cached Time.now
2021-01-16 15:29:18 +0000 (Rails.cache.fetch("time_test") { Time.now }
)
Turbo Frames from hotwire
Note: links (should) get loaded async via Turbo frames from /links
Sessions