General

Profile

ngan (Ngan Pham)

  • Login: ngan
  • Registered on: 04/14/2020
  • Last connection: 09/27/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

08/29/2022

02:11 PM Ruby master Feature #18951: Object#with to set and restore attributes around a block
I really like Rails’ `with_options`:
```ruby
class Account < ActiveRecord::Base
with_options dependent: :destroy d...
ngan (Ngan Pham)

04/14/2020

04:37 PM Ruby master Misc #16047: Reconsider impact of frozen_string_literal on dynamic strings
I find myself only applying ".freeze" to all-cap constants:
RED = "red".freeze
I think it would nice if Ruby 3 only...
ngan (Ngan Pham)

Also available in: Atom