Tutorials

Gem Credentials Management with Gemstash | Petr Hlavicka
How can we efficiently manage gem credentials across the teamWhen your project grows, you may reach out to enterprise gems (like Sidekiq Pro) for help or want to extract some business logic into private gems.Bundler has a way to set the credential...

How to Customize Rails Validation Errors to Remove Leading Attribute Column Names
Rails validations is an elegant way to verify the model state before it's saved into the database. Often, you want to provide a custom, user-friendly error message to the user. In this post, we'll learn how to accomplish this with custom validatio...

37signals Dev — Building Basecamp project stacks with Hotwire
It’s been two decades since Rails changed the way we build web apps. As the demand for richer and richer UIs grew, teams came up with different frontends to deliver on those expectations. Client-side frameworks such as Angular, Ember, and React em...






Undo in assets:clobber What You Do in assets:precompile
As a best practice, when you enhance your Rails app’s assets:precompile task to build static assets that can be served faster than if they needed to be compiled at runtime, you should also enhance assets:clobber to remove the artifacts you create....