Ruby or Rails

Episode #473 by Teacher's Avatar David Kimura

Summary

In this episode, we take a look at 20 different code examples and have to determine if they are part of Ruby's core library or if they are specific to the Ruby on Rails framework.
ruby rails syntax 11:00

Chapters

  • Introduction (0:00)
  • 1. Proc.new (1:34)
  • 2. find_by (1:47)
  • 3. StandardError (2:13)
  • 4. module and include (2:36)
  • 5. try (3:12)
  • 6. Safe Navigator (3:43)
  • 7. attr_accessor (4:16)
  • 8. before_action (4:42)
  • 9. where and order (5:05)
  • 10. Hash.find (5:25)
  • 11. with_indifferent_access (5:52)
  • 12. Hash.select (6:18)
  • 13. Array.in_groups_of (6:40)
  • 14. Hash.merge (6:59)
  • 15. Hash.deep_merge (7:21)
  • 16. Array.map (7:54)
  • 17. Array.from and Array.to (8:14)
  • 18. blank? (8:46)
  • 19. Array.wrap (9:05)
  • 20. times (9:40)
  • Final Thoughts (10:05)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams