sync file for mongo db
setting rails env to sync
update mongoid for syncing
remove sync
remove defaults from mongoid settings
precompile local js