News
A gem for making value classes, with lightweight validation and coercion.
A gem for making value classes.Generates modules that provide conventional value semantics for a given set of attributes. The behaviour is similar to an immutable Struct class, plus extensible, lightweight validation and coercion.These are intende...
Understanding Bundler - to `Bundle Exec` or Not? That Is the Question
We, Ruby developers, are used to running scripts or commands with the prefix bundle exec, but sometimes it's not needed, but sometimes it is, and when it's not needed it still works just fine if we add it. So it may not be clear why we need to use...
To ERB and Beyond! What’s New in Bridgetown 0.16 “Crystal Springs”
It’s the height of summer, and we’re here with a real treat for Rubyists everywhere! At last you can have your cake and eat it too with the release of Bridgetown 0.16 “Crystal Springs”—write site templates in your choice of ERB, Haml, or Slim all ...
Why doesn't Webpacker use my test config when I run Rails tests? - rossta.net
When running Rails system or integration tests, you might be surprised to learn that Webpacker will load your development webpack config. Here's something you might not expect: when running Rails tests, Webpacker will load the development webpack ...