A Crash Course in Analyzing Memory Usage in Ruby
The app handles a number of legacy URL paths, and redirects each one to a configurable location. This is implemented as a custom middleware. When the a.
A Deep Dive into CSRF Protection in Rails – Ruby Inside
If you’re using Rails today, chances are you’re using CSRF protection. It’s been there almost since the beginning, and it’s one of those features in Ra.
Fixing Bundler's dependency resolution algorithm and making it 2x faster
A month ago we had a report of some strange behaviour from Dependabot: on some projects, we were creating a “Dependabot can’t resolve your Ruby depende.
Faster Rails: Eliminating N 1 queries - Semaphore
Rails does not scale well – this argument is often used to downplay the worth of the language and the framework. Yet, many businesses from small startu.
Preventing security issues in Ruby on Rails (based on OWASP cheatsheet)
Although core team and the community behind Ruby on Rails is working very hard to ensure that this framework is providing high level of security, it is.
Drifting Ruby Restricting Access by IP Address
Drifting RubyLearn to lock down your application or parts of your application by IP Addresses....
Understanding Migrations in Rails
Rails provides migrations to help you evolve your database schema in a convenient way. In your new Rails application, your database schema starts off e.
Beyond Rails Abstractions: A Dive into Database Internals
The downside of this level of insulation from core functionality is that developers don’t learn all of the things they perhaps should. Only last week I.
Start Your SEO Right with Sitemaps on Rails
After crafting your website, the next step usually involves taking care of search engine optimization (SEO). With that in mind, creating a sitemap is o.
How To Apply Classic Graph Theory To Solve Real Problems Using Ruby
The thing is that a binary tree is just a specialized version of a graph, so that should give you an idea of how widespread graphs are.Let’s start with.