fix errbit primer and security update for rails
Merge branch 'rm_production'