Kurt StephensNerd Up! | ||||||||||||||
|
The only way to implement the future is to avoid having to predict it. -- Piumarta
Fighting entropy one day at a time... Ruby on Rails Caching
Links about Caching in Rails.
Ruby 1.9 : Changes
http://eigenclass.org/hiki/Changes+in+Ruby+1.9 Excellent synopsis of changes to Ruby 1.9. Other goodies: http://eigenclass.org/hiki/non-synthetic-benchmarks-for-yarv http://eigenclass.org/hiki/porting-rails-to-ruby-1.9 rcov : BUG : rcov 0.8.0.2 does not return target script exit code, PATCH INCLUDED!
Here is a patch to rcov 0.8.0.2 to rethrow any exception generated by the scripts to be traced, after report generation (most importantly SystemExit). This allows the exit code from test runners (like spec) to be used under rake. UML 1.5 References
Cheap Advice for Ruby
Advice is a programming construct from the Lisp world that pre-dates aspect-oriented and object-oriented programming. Advice is code that is placed before, after or around an existing function’s body. Examples of advice can be seen in Emacs: in Emacs Lisp, the advice is specified with macro syntax that expands to lambdas. Wrote this (err… something similar at work :) in Ruby just before I found http://aquarium.rubyforge.org. The advice bodies are bound as methods using It provides simple See Aquarium for more industrial-strength AOP-style programming. Ruby AOP with Aquarium
Cool new Ruby gem Aquarium – AOP framework for Ruby: Discussion of AOP, Rails and GOF design patterns: http://cfis.savagexi.com/articles/2007/09/05/rails-unusual-architecture Not really AOP or Decorator because it occurs at the M1 (class, module) and not the M0 (object) meta-modeling layer. |
||||||||||||||
Recent comments
14 weeks 15 hours ago
26 weeks 6 days ago
29 weeks 2 days ago
29 weeks 3 days ago
29 weeks 3 days ago
29 weeks 3 days ago
29 weeks 3 days ago
31 weeks 6 days ago
31 weeks 6 days ago
34 weeks 3 days ago