Главная
Study mode:
on
1
Introduction
2
What is Ruby
3
Whats best in Ruby
4
What is metaprogramming
5
Rails Dynamic Finders
6
Three Deadly Metaprogramming Senses
7
Why would we use this
8
Example
9
The Bad
10
The Fix
11
Constanteyes
12
EmployeeID
13
Payment Method
14
eval
15
Why use eval
16
Whats the fix
17
Method missing
18
ActiveRecord
19
I love Ruby
20
Questions
Description:
Explore metaprogramming in Ruby and its potential pitfalls in this 24-minute conference talk from Derbycon 2016. Delve into the fundamentals of Ruby, its strengths, and the concept of metaprogramming. Examine Rails Dynamic Finders and the "Three Deadly Metaprogramming Senses." Learn through practical examples, including the use of eval and method_missing. Discover common mistakes and their solutions, with a focus on ActiveRecord implementation. Gain insights into effective Ruby programming techniques and best practices for metaprogramming.

Metaprogramming in Ruby and Doing It Wrong

Add to list
00:00
-01:36