No. 09
Rails 6 adds guard against DNS Rebinding attacks
In a DNS Rebinding attack, a malicious webpage runs client-side script when it is loaded, to attack endpoints within a given network.
7 essays
No. 09
In a DNS Rebinding attack, a malicious webpage runs client-side script when it is loaded, to attack endpoints within a given network.
No. 08
Zeitwerk is the new code loader that comes with Rails 6 by default. In addition to providing autoloading, eager loading, and reloading capabilities, it also improves the classical code loader by being efficient and thread safe.
No. 06
One of our applications uses geocoding extensively. When we started the project, we included the excellent Geocoder gem, and set Google as the geocoding backend. As the application scaled, its geocoding requirements grew and soon we were looking at geocoding bills worth thousands of dollars.
No. 05
Concurrent Ruby is a concurrency toolkit that builds on a lot of interesting ideas from many functional languages and classic concurrency patterns. When it comes to writing threaded code in Rails applications, look no further since concurrent ruby is already included in Rails via Active Support.
No. 03
As a Rails developer, it was a familiar picture of assets logs flooding the whole terminal in development mode. Fortunately, we could include quiet_assets gem in our application. It turns off the Rails asset pipeline log in development mode.
No. 02
Let’s assume that in our health care application we have a page which shows all Patients. This page also has a filter and it allows us to filter patients by their name. We could implement the filter as shown here.
No. 01
Rails 4.2 came with built-in support for executing jobs in the background using Active Job. Along with many enhancements to Active Job, Rails 5 provides the ability to attach arbitrary metadata to any job.