General

Profile

rafaelfranca (Rafael França)

  • Login: rafaelfranca
  • Email: [email protected]
  • Registered on: 06/14/2012
  • Last sign in: 03/05/2024

Issues

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

Activity

09/21/2023

05:43 PM Ruby Feature #19839: Need a method to check if two ranges overlap
Thank you for checking with us. I believe the difference when the ranges are empty is acceptable. I don't think it was intentional in the Active Support implementation. rafaelfranca (Rafael França)

08/23/2023

05:20 PM Ruby Revision 77484528 (git): Change yjit stats list to be a unordered list
Without using a list, this show as a single paragraph with all stats descriptions being in one single line rafaelfranca (Rafael França)

03/10/2022

03:14 AM Ruby Feature #18618: no clobber def
Ah, forgot to say sorbet already have support to final, abstract and override. Having support in Ruby could help with static analysis in sorbet and steep.
https://sorbet.org/docs/final
rafaelfranca (Rafael França)
03:11 AM Ruby Feature #18618: no clobber def
Isn’t this the same idea as final methods in other languages like Java?
There is an implementation for this https://github.com/joker1007/finalist.
Support for final methods would allow libraries and application developers to clearl...
rafaelfranca (Rafael França)

12/28/2019

03:59 PM Ruby Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
This solution would be my first choice if for some reason Rails needs to ask users to change their code to use `ruby2_keywords`.
In our current problem, users define Mailers and those mailers have actions, that are public methods in t...
rafaelfranca (Rafael França)

12/27/2019

05:55 PM Ruby Bug #16458 (Rejected): Ruby 2.7 warning firing in the wrong situations
I'm trying to remove all warnings from my library and there is a warning related to keyword arguments that is firing when I believe it should not.
The warning is:
```
/Users/rafaelfranca/src/rails/globalid/lib/global_id/global_id....
rafaelfranca (Rafael França)

11/01/2019

11:37 PM Ruby Feature #16150: Add a way to request a frozen string from to_s
This issue is also fixed on Rails 5.2 and will be released in the next version of Rails.
Users of any version of Rails below 5.2 are already abandoned. The Rails core team don't support those versions anymore. So, they already need to...
rafaelfranca (Rafael França)
04:05 PM Ruby Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
The detailed situation.
Rails and other libraries and codebases rely on `/regex/.match?(nil)` to return false. This change is making that method to raise an error in that situation.
Changing this behavior on Ruby 2.7 means that app...
rafaelfranca (Rafael França)

10/31/2019

10:37 PM Ruby Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
I know this change is to make the code consistent but this is a backward incompatible change and I don't think it should be applied to Ruby 2.7 without deprecation. The fact that we need to change Rails and many other gems to make this w... rafaelfranca (Rafael França)

10/11/2019

05:26 PM Ruby Misc #16232: DevelopersMeeting20191017Japan
* [Feature #13683] Add strict Enumerable#single
* Matz didn't like the `single` name but we have a proposal for `#only`
rafaelfranca (Rafael França)

Also available in: Atom