made failsafe
fix which db is use din test issue
tiny fix
minor
update post and rails