added secure version of dev and production.rb