読者です 読者をやめる 読者になる 読者になる

quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

Ruby5 #631

Ruby5 - Episode #631 - April 12th, 2016

  • Gem Replacement Vulnerability
    • every .gem uploaded after Feb 8, 2015, was verified
    • showing no evidence of tampering
    • The RubyGems team is urging maintainers of gems whose name contains a dash (e.g. ‘blank-blank’) uploaded before February 8
  • presence_in
    • params[:sort_by].presence_in(%w(newest most_commented top)) || :newest
  • load, require, extend, include
    • load
      • load 'test_module.rb'
      • load reads and parses files every time you call load
    • require
      • even if you change the required file when the script is running, those changes won't be applied
      • Note that we say filename not filename.rb
    • Include vs extend
  • Awesome Ruby