Companion rails app for my method_missing article.
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

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