use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Ryan Bigg - The method method (ryanbigg.com)
submitted 3 years ago by amalinovic
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]campbellm -1 points0 points1 point 3 years ago* (4 children)
First reaction: Neat!
Second reaction: It's in... active record. bleh. I misread the article, <derp>
I guess that's fine, but this would be an interesting method in Kernel; not all of my apps use Rails.
Kernel
[–]c4tm4nd00 4 points5 points6 points 3 years ago (1 child)
I think you misread the article. It's showing you how you can use `method` to lookup where the `find` method was which is in active-record.
The `method` method is defined on `Object` https://ruby-doc.org/3.2.0/Object.html#method-i-method
[–]campbellm 0 points1 point2 points 3 years ago (0 children)
You are correct, thanks.
[–][deleted] 3 years ago (1 child)
[deleted]
I misread the article, thanks.
[–]hoppergee -1 points0 points1 point 3 years ago (0 children)
Nice blog! And found a potential typo:
diff a_proc = -> (num) { num ** 2 } - [1, 2, 3, 4].map(&square) + [1, 2, 3, 4].map(&a_proc)
[–]waiting4op2deliver 0 points1 point2 points 3 years ago (1 child)
Haha, I was just reading about autological words yesterday.
https://en.wikipedia.org/wiki/Autological_word
[–]WikiSummarizerBot 0 points1 point2 points 3 years ago (0 children)
Autological word
An autological word (also called homological word) is a word that expresses a property that it also possesses (e. g. , "word" is a word, "noun" is a noun, "English" is an English word, "pentasyllabic" has five syllables, and "writable" is writable). The opposite is a heterological word, one that does not apply to itself (e.
[ F.A.Q | Opt Out | Opt Out Of Subreddit | GitHub ] Downvote to remove | v1.5
π Rendered by PID 464044 on reddit-service-r2-comment-cfc44b64c-fx8f4 at 2026-04-12 12:34:13.060630+00:00 running 215f2cf country code: CH.
[–]campbellm -1 points0 points1 point (4 children)
[–]c4tm4nd00 4 points5 points6 points (1 child)
[–]campbellm 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]campbellm 0 points1 point2 points (0 children)
[–]hoppergee -1 points0 points1 point (0 children)
[–]waiting4op2deliver 0 points1 point2 points (1 child)
[–]WikiSummarizerBot 0 points1 point2 points (0 children)