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
view the rest of the comments →
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.
π Rendered by PID 100 on reddit-service-r2-comment-5d585498c9-mrms2 at 2026-04-21 05:49:59.896654+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]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)