Tutorials
Adding File Validation to Lexxy Editor with Stimulus
A simple Stimulus controller to validate attachments in the Lexxy editor — restricting file types and sizes before they get uploaded.When using Lexxy as a text editor, one thing I wanted was more control over which files users could attach. For ex...
More everyday performance rules for Ruby on Rails developers - RorVsWild
Previously, I wrote Everyday Performance Rules for Ruby on Rails Developers. I will try to provide another round of good practices. I hope that will help you speed up your application as well.
Rendering a collection is faster than calling a parti...
The Whop chop: how we cut a Rails test suite and CI time in half—Martian Chronicles, Evil Martians’ team blog
Evil Martians cut Whop’s Rails test suite and CI time in half using profiling, factory optimizations, and parallelization. Learn how we speed up tests and boost reliability.Evil Martians sliced our client Whop’s entire suite runtime in half. This ...
Ruby Array Methods: A Comprehensive Guide - RailsCarma - Ruby on Rails Development Company specializing in Offshore Development
Master Ruby Array methods with this comprehensive guide. Learn key functions, practical examples, & best practices to boost your efficiency.Ruby, the elegant and developer-friendly programming language created by Yukihiro Matsumoto (often called M...
Migrating a legacy database into an existing Rails app
Sometimes, you need to connect to a legacy database and retrieve some data. Perhaps you are deep in the process of rewriting an application, or maybe your company has bought another company, leaving you, the poor lone developer, responsible for tr...
The Basics of Creating Rails Plugins — Ruby on Rails Guides
A Rails plugin is either an extension or a modification of the core framework. Plugins provide:
A way for developers to share bleeding-edge ideas without hurting the stable code base.
A segmented architecture so that units of code can be fixed or...