-
Rails has added strict loading mode to prevent lazy loading
Rails 6.1 has added strict_loading mode to prevent lazy loading of associations. When the strict_loading mode is used, the associated records will have. -
Ruby on Rails Mistakes that could kill Your Production Servers
In this tutorial, I’ll describe a couple of non-obvious Ruby on Rails mistakes that could bring down your production system. They are so sneaky that th. -
How to test static sites with RSpec, Capybara, and Webkit
Automated tests are not only good for dynamic code. You can (and probably should) test your static web sites as well. Here is an example of me testing . -
AWS Lambda now supports Ruby 2.7
You can now develop your AWS Lambda functions using Ruby 2.7. Start using this runtime today by specifying a runtime parameter value of ruby2.7 when cr. -
Hanami | Introducing Hanami::API
In the quest of spreading the Hanami word, I talk to many people. A recurring pattern emerged from these discussions: the business risk of "switching" . -
news.rb quick starter script - build your own facebook newsfeed in 1-2-3 steps in 5 minutes
Let's use the News module that offers easy to (re)use "porcelain" helpers /methods that hide the "plumbing" for building your own newsreader or newsfee. -
Build a contact form using ActiveModel, I18n and custom validations
Getting in touch through a website contact form is commonplace for a lot of web applications. Typically, a user may want to send comments or feedback t. -
Ruby on Rails Development with VS Code
I tried several editors when I first got into programming, but VS Code quickly stuck. For the past three years, I have been continually updating my VS . -
An ActiveRecord plugin for managing lists.
This acts_as extension provides the capabilities for sorting and reordering a number of objects in a list. The class that has this specified needs to h. -
Better error page for Rack apps
Better Errors replaces the standard Rails error page with a much better and more useful error page. It is also usable outside of Rails in any Rack app .