Performance Improvements in Ruby 2.5
New Ruby versions keep improving & Ruby 2.5 is no different.
Ruby 2.5 is introducing some optimizations:
String interpolation will be around 72% faster when a large string is created
String#prepend will be around 42% faster if only one argument is given
Enumerable#sort_by, Enumerable#min_by & Enumerable#max_by will be about 50% faster
RailsInstaller 3.4.0 For Windows Released
One of the easiest ways to install Rails on Windows is by using RailsInstaller. It contains everything you need to create a new Rails application. You do not have to install the individual components separately.
The latest RailsInstaller is 3.4.0. Make sure you are using this version as it has fixed a few issues from previous releases.
8 Talks from Keep Ruby Weird 2017
Videos from the ultra creative Keep Ruby Weird conference that took place 2 weeks ago are here. These are not your typical Ruby talks!
How to Clear Out Your Controllers and Models with Waterfall GemFat models and large actions have always been a problem for Rails developers, service objects came to help us but sometimes it feels like we just move .
Using Vue.js in Rails · ClassVue.js is awesome. I’m telling this after having used React for more than a year in production software. If you haven’t tried it yet, I highly recommen.
Go for Rubyists - Kleber CorreiaGo is a open source programming language created at Google by Robert Griesemer, Rob Pike, and Ken Thompson whereas Ruby was conceived in the nighties, .
Implementing a worker poolOften in time when you need to execute multiple tasks it pays off to run them in parallel, especially when they involve blocking I/O operations.Often i.
Ruby on Rails Refactoring - When Do You Need It and Why?Refactoring means, in simplest possible terms, improving existing code without changing its functionality. It’s all about code quality and optimisation.
Hosting a Ruby on Rails App: AWS, Google Cloud Platform, Microsoft Azure, Heroku and Digital Ocean
At some point, you will have to decide where to host your amazing RoR application. Choosing between dozens of excellent hosting providers might not be .
80% Smaller Rails Page Size With Rack Deflate
Do you have 5 minutes? Do you want to decrease the “over the wire” size of your Rails app by 80%? Sure you do! I added Rack::Deflate to CodeTriage.com, the best way to get started in Open Source, and went from a page size of 85,523 bytes to 15,568 bytes (over the wire). You can verify with this retro looking web based compression tool.