Ruby · Rails · Git
Answers and in-depth explanations for the Ruby and Rails quizzes we share on social media.
h = { key: 42, 'key' => 84 }
h.symbolize_keys # => ???
symbolize_keys collides :key and "key"def show @event = Event.find(params[:id]) @event.remote? # => true
render calls in one Rails actionrake stats