1. 12 5月, 2020 7 次提交
  2. 11 5月, 2020 4 次提交
  3. 10 5月, 2020 18 次提交
  4. 09 5月, 2020 9 次提交
  5. 08 5月, 2020 2 次提交
    • J
      Make NameError#missing_name work even for real Ruby NameError · 8c0b94b9
      Jean Boussier 提交于
      On constant missing Ruby call `#inspect` on the receiver to build
      the error message.
      
      For instance, the error message for `Foo::Bar` will be `"#{Foo.inspect}::Bar"`.
      
      And since Active Record override the model classes inspect method, this
      breaks `missing_name` assumptions.
      
      Until now it worked because missing_name was only called on errors
      raised by the classic autoloader, and the classic autoloader calls
      `#name` to build its error message.
      8c0b94b9
    • A
      undef_method can take varargs · 1edf103b
      Akira Matsuda 提交于
      1edf103b