General

Profile

PSchambacher (Pierre Schambacher)

  • Login: PSchambacher
  • Registered on: 01/21/2016
  • Last sign in: 12/18/2017

Issues

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

Activity

12/18/2017

03:27 PM Ruby Bug #13358: OpenStruct overriding allocate
Any chance this could be backported to ruby 2.3? It's creating issues because we're loading OpenStruct from the database and Ruby 2.4 is still several months ahead for this project. PSchambacher (Pierre Schambacher)

05/04/2016

10:43 PM Ruby Bug #12349 (Closed): Can't load OpenStruct with Syck with Ruby 2.3.x
This is the same kind of problem that happened with Psych here: https://bugs.ruby-lang.org/issues/11884
When trying to load an OpenStruct object using Syck, the @table instance variable is nil, making the has_key? method fail in respo...
PSchambacher (Pierre Schambacher)

04/26/2016

05:57 PM Ruby Bug #11884: Psych.load broken for OpenStruct in Ruby 2.3.0
I'm sorry to re-open this but I'm getting a similar error with Syck and Ruby 2.3.1 just released
I attached a repro script and the log that I get when running it. Like psych, the @table instance variable of the OpenStruct isn't initiali...
PSchambacher (Pierre Schambacher)

04/21/2016

04:37 PM Ruby Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Just my 2 cents here but any time I've been writing a pure ruby application, I ended up including active support or copy-pasting the blank? method.
There's a lot of applications of pure ruby code to know if the string that we have is ...
PSchambacher (Pierre Schambacher)

01/21/2016

01:24 PM Ruby Bug #11120: Unexpected behavior when mixing Module#prepend with method aliasing
Actually I really think that solution 1 is the good one. Here is another code sample:
~~~
module A
def run
puts 'RUN STARTS'
super
puts 'RUN ENDS'
end
def run_without_chain
puts 'RUN_WITHOUT_CHAIN START...
PSchambacher (Pierre Schambacher)
01:18 PM Ruby Bug #11120: Unexpected behavior when mixing Module#prepend with method aliasing
Adding my 2 cents here. I think that there's a big problem at the moment with Ruby, Module.prepend and alias_method_chain.
Here is a sample of code:
~~~
module A
def run
puts 'A STARTS'
super
puts 'A ENDS'
end
...
PSchambacher (Pierre Schambacher)

Also available in: Atom