Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rails' method_missing is a great example of this and awesome to read through for a thorough mind fuck.


Rails doesn't have a method_missing, Ruby does, it copied it from Smalltalk's #doesNotUnderstand:. Rails is a framework, not a language.


Oh come on. I meant how it was implemented with AR


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: