Upgrade gemfile so that it intalls #broken
Commenet out active resource require
Set mongoid version to github
Remove attr accessible from user, admin_user
Remove jasmine rice from gemfile
Upgrade scope syntax to mongoid 4
Remove safe: true, consistency: strong from mongoid.yml -- seems like these options were removed
Add bson and moped gem; require explicitly in application.rb
Update DaysController to use stron_params: add #day_params; explicitly whitelist the nested attributes for sleep, summary, goals
Make mixpanel fail gracefully
Redo dashboard_spec -- added a normalize method (for now) WIP. Tests still break
Fix day_params to whitelist sleep fields via Sleep.fields.key; dashboard spec passes
Cleaning up dashboard spec a bit
Cleaning up dashboard_spec: remove sleep, use eventually. Clean up support/async_helper eventualy documentation
Remove skip_version_check from mongoid.ym. for staging, production
Touch production.rb
Add Rails12_factor; Set serve_static_assets to true for staging, prod
Updae data_points to rails 4 (strong params. manually added _type field to data points controller..)
Fix RescueTimeDp feature: RescueTimeDp#recent scope; caching issues; RescueTimeDpSerializer#id
Merge pull request #9 from sherwinyu/upgrade-rails

Upgrade rails. Tests pass. Merging