Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shane_mcd
· 14y ago · 0 comments
Rails' method_missing is a great example of this and awesome to read through for a thorough mind fuck.
Comments
[–]
gnaritas
14y ago
Rails doesn't have a method_missing, Ruby does, it copied it from Smalltalk's #doesNotUnderstand:. Rails is a framework, not a language.
[–]
shane_mcd
OP
14y ago
Oh come on. I meant how it was implemented with AR
[–]
gnaritas
14y 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.