Update chaper 3 for Rails 4.0
Fix wrong internal links to footnotes in Rails 4.0 book