Posts with Tag Ruby Page 1 of 2
-
How to Install Ruby 3.2 with YJIT Enabled
In this blog post, I'll explain how to install Ruby with YJIT enabled. I use chruby as Ruby versioning manager.
-
Ribsum - Lightweight and Simple Lorem Ipsum Text Generator
Ribsum is a lightweight Ruby gem that allows you to easily generate lorem ipsum text.
-
How Add Elements an Array and Automatically Remove Duplicates in Ruby
While working with Array, using |= operator will automatically add elements and remove duplicates
-
Access Nested Hash Value with Dig Method in Ruby
It's better using dig method, you don't have to check nil for accessing nested value from a Hash
-
How to Solve "Could not find MIME type database" Error on M1 MacBook
Two solutions for this error: copy & paste from Freedesktop or install via Homebrew
-
Ruby Roda Web Application Framework Post Request Params
How to access params from POST request via Content-Type: x-www-urlencoded and Content-Type: application/json
-
Benchmark Jekyll Build Time - Ruby MRI vs JRuby
MRI has better performance than JRuby
-
How To Install Ruby 3.2 with chruby and uninstall Ruby 3.1 from chruby
Guide how to install MRI Ruby 3.2 with chruby and how to remove old version MRI Ruby 3.1 from chruby
-
Introducing Enkrip
Enkrip is Ruby gem to make your Active Record model seamlessly encrypt and decrypt attributes
-
Rails Rspec 3 View Test Examples
Some examples how to create view / html assertions with Rspec 3
-
How to Fix Frozen String Literal Error
frozen_string_literal is one of easiest way to optimize Ruby application, but sometimes it raises error if your old code is not compatible.
-
Date Operation in Ruby
Date operation example in Ruby with or without Rails and Active Record
-
Rails Object#presence vs Object#try
Based on my micro benchmark, Object#presence has better performance than Object#try
-
Sinator - Sinatra Application Generator
Sinator is a tool to generate Sinatra based web application with Sprockets, Puma, and Sequel
-
Nokogiri 1.6.8 Error When Installing Rails 5.0.0.rc1
Remove xz package from Homebrew fix my error.
subscribe via RSS
Sponsored Links
- Register to Digital Ocean cloud with this link and get $200 credit
- Looking for cheap CDN? Bunny is the answer
- Alternative Cloud besides AWS and Digital Ocean