What ruby and rails methods are available and where are they defined?
The Array class is in ruby core. It includes the Enumerable module so mixes in the methods defined there. However, there is also a Enumerable module defined in Rails. So, when using arrays you get both for free. How do you know when something is mixed in? How would I know I should also see […]
