kconrails/method_missing
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a full Rails 3 app that demonstrates the method_missing method of Ruby. The good stuff is here: * lib/widget.rb - example of using method_missing to create dynamic attributes in a Ruby object. * app/models/person.rb - uses method_missing with blocks