Y
Hacker News
new
|
ask
|
show
|
jobs
by
shane_mcd
5145 days ago
Rails' method_missing is a great example of this and awesome to read through for a thorough mind fuck.
1 comments
gnaritas
5145 days ago
Rails doesn't have a method_missing, Ruby does, it copied it from Smalltalk's #doesNotUnderstand:. Rails is a framework, not a language.
link
shane_mcd
5145 days ago
Oh come on. I meant how it was implemented with AR
link
gnaritas
5145 days ago
I have no idea what you meant, I can only comment on what you said. Had you said activerecord's implementation of method_missing, I'd have understood, but you said Rails.
link