July 2011
1 post
BDD style unit testing video and slides@RubyKaigi...
Slides
Video recording
Ruby会議2011 2日目レポート - Japanese Report
This is my slides and video recording at RubyKaigi 2011 (with speaker’s note every page). It’s my first English presentation and the time is 30mins, so I only talk about the core value of BDD, basic BDD style syntax, why the syntax matters and some BDD caveats you should know and think.
I’m such nervous and...
September 2010
1 post
My Mac Development Installation Guide (Rails3)
Install Xcode
Install Homebrew http://github.com/mxcl/homebrew
brew install git
brew install imagemagick
brew install mysql
brew install wget
Generate SSH KEY: ssh-keygen -t rsa
Install RVM http://rvm.beginrescueend.com/rvm/install/
Edit .bash_profile, eg. http://gist.github.com/589155
Edit .gitconfig, eg. https://gist.github.com/b3304e295872d8cf760f
rvm insatll 1.9.2
rvm 1.9.2...
March 2010
1 post
Rails3: ActiveSupport::Concern
(Chinese version)
ActiveSupport::Concern is an important tool for Rails3 modularity. It makes managing module dependencies management very easy and intuitional.
Suppose we have two modules which have dependency relationship. Module Bar depends on module Foo. And there is a class Host which intends to include Bar features. Therefore we can write code like this:
module Foo
# self.included...
January 2010
1 post
First Post
I have no idea why there are 4 followers here before I write anything? Anyway, I will begin to write something in English at tumblr, mostly because I want to practice my English writing skill.
Few weeks ago, I asked my good friend, Roy, who is a professional English teacher (One proverb says “Go away! Let professional handle!”). Could he help me speak English well? I’m...