Anchor the major version number

+ looking for rails 3, matched on rails 4.0.3
Merge branch 'bug-any-rails-version-containing-3'