- Puma has its own sessions which need a
sudo rebootto restart. Even restarting.
- You can write
def haha(*)if you want to write a function that can accept arguments but not use them.
- Ruby struct can be initialized with less than the ‘required’ arguments. Something to think about.
- Think about: values library (
- Access a method using
object.method(:one). Access its arity by
attr_extrasseems good, but no keyword arguments. So…
- When thinking about Struct vs Hash, think about reducing the number of nil checks that would probably appear. Reference