2 ms·
This is a pretty good bite-size sampling of the workings of some of the nice things we take for granted in Rails (like AREL). Rspec is another one that's worth
by jarin 15y ago
This is a pretty good bite-size sampling of the workings of some of the nice things we take for granted in Rails (like AREL). Rspec is another one that's worth looking into:
http://stackoverflow.com/questions/3105755/ruby-metaprogramming-how-does-rspecs-should-work http://stackoverflow.com/questions/3105755/ruby-metaprogramm...
- jkreeftmeijer 15y agoThanks! I totally agree RSpec's a good library to dive into too. To understand how it works, I wrote Raptor (https://github.com/jeffkreeftmeijer/raptor https://github.com/jeffkreeftmeijer/raptor) a while back. I might write about that too, sometime. :)