#tech
-
Go Installation and Uninstallation on Mac
Installation
-
Ruby in WebAssembly
There is an official Wasm build of Ruby. It supports WASI and a wide array of features.
-
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
-
Ecto Custom Validation Elixir Phoenix
We often need to validate fields that are passed through a struct in Ecto Changesets. Custom validations are very straightforward to write and can be composed with one another easily. By using validate_change/3 which invokes a validator function, the function returns either a) the changeset or b) the changeset with errors if the validation fails.
-
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