General

Profile

p8 (Petrik de Heus)

  • Login: p8
  • Registered on: 10/21/2019
  • Last sign in: 01/23/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 4 1 5

Like

Activity

03/09/2024

05:46 AM Ruby master Revision a6991021 (git): [ruby/rdoc] [DOC] Improve documentation of include directive file search
Searching the file in the "current directory" could be read as the
directory from which RDoc is run. This is incorrec...
p8 (Petrik de Heus)

02/09/2024

01:07 AM Ruby master Revision 2a57e6e6 (git): [ruby/rdoc] Don't document aliases with trailing `:nodoc` directive
Attribute readers and writers can be marked as `:nodoc` to keep them
undocumented:
```ruby
attr_reader :name # :nodo...
p8 (Petrik de Heus)

01/23/2024

01:50 PM Ruby master Feature #8506: Object#iter_for / Object#to_iter
The following examples:
```ruby
0.iter_for(:next).take(5) # => [0, 1, 2, 3, 4]
Date.new(2013, 1, 1).iter_for(:next_mo...
p8 (Petrik de Heus)

10/26/2023

09:41 AM Ruby master Feature #8520: Distinct to_s methods for Array, Hash...
There is an open issue in Rails to limit `ActiveRecord::Base#inspect` for performance reasons.
https://github.com/ra...
p8 (Petrik de Heus)

10/08/2023

10:40 AM Ruby master Feature #19884: Make Safe Navigation Operator work on classes
nobu (Nobuyoshi Nakada) wrote in #note-10:
> Rather the extension of `defined?` operator which returns the value (i...
p8 (Petrik de Heus)

10/07/2023

02:45 PM Ruby master Feature #19884: Make Safe Navigation Operator work on classes
sawa (Tsuyoshi Sawada) wrote in #note-6:
> Then you should edit and write that in the description.
I've updated...
p8 (Petrik de Heus)
10:00 AM Ruby master Feature #19884: Make Safe Navigation Operator work on classes
sawa (Tsuyoshi Sawada) wrote in #note-1:
> Currently, you can do `ActiveRecord::Base.some_method rescue nil`
That...
p8 (Petrik de Heus)
09:50 AM Ruby master Feature #19884: Make Safe Navigation Operator work on classes
There's multiple examples in the Rails code base:
https://github.com/rails/rails/blob/7f7f9df8641e35a076fe26bd097f6a...
p8 (Petrik de Heus)

09/15/2023

08:06 AM Ruby master Feature #19884 (Open): Make Safe Navigation Operator work on classes
If a constant isn't defined it will raise a NameError:
```ruby
DoesNotExist.some_method # raises: uninitialized c...
p8 (Petrik de Heus)

09/06/2023

10:26 AM Ruby master Revision 9b6128c5 (git): [ruby/openssl] Fix OCSP documentation
`port` should be called on the `ocsp_uri` URI instead of `ocsp`, which
is just a string.
https://github.com/ruby/ope...
p8 (Petrik de Heus)

Also available in: Atom