#ruby
-
Deploying Rails Applications to Heroku
Deploying Rails Applications to Heroku
A Practical Guide for Students
-
Protecting RSpec Mocks from Signature and Return Type Changes
Protecting RSpec Mocks
-
Ruby on Rails Phusion passenger error
Problem
-
Ruby in WebAssembly
There is an official Wasm build of Ruby. It supports WASI and a wide array of features.
-
Caching in GitLab CI/CD
If you are using mutliple stages to the CI and each stage needs bundle install, cache bundle and just reuse it.
-
Confusing behavior of File.dirname
If you are using File.dirname to get the directory path and delete and do some other processing on path, then make sure you consider below use cases.
-
Expression Indexes and Operator Classes support for PostgreSQL
Expression Indexes
-
String supports Unicode case mappings
String/Symbol#upcase/downcase/swapcase/capitalize(!)
now handle Unicode case mappings instead of only ASCII case mappings -
String#concat, Array#concat and String#prepend Now takes multiple arguments.
Now
String#concat
,Array#concat
andString#prepend
- String#concat
-
# Before 2.4.0
-
Binding#irb Start a REPL session similar to binding.pry
Ruby 2.4.0 introduced new feature for debugging
-
Jekyll Deployment using git hook
Sites built using Jekyll can be deployed in a large number of ways due to the static nature of the generated output. A one of them deployment techniques is described below using git hook.
-
Install Ruby On Rails, Postgres, GitHub, Nginx with Passenger
To setup production environment with ruby, rails, nginx and passengeruse following steps one by one