change calculation of MusicSessionUserHistory.duration_minutes to exactly get the number of minutes overlapped with other user sessions. previously it returned the entire music session time if a other user joined in and left without staying compleyely within the session. this commit also fixs an edge case of the query in MusicSessionUserHistory.overlapping_connections |
||
|---|---|---|
| .. | ||
| config | ||
| lib | ||
| scripts | ||
| spec | ||
| .gitignore | ||
| .pg_migrate | ||
| .rspec | ||
| .ruby-gemset | ||
| .simplecov | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSE | ||
| README.md | ||
| Rakefile | ||
| build | ||
| jam_ruby.gemspec | ||
| jenkins | ||
| migrate.sh | ||
README.md
JamRuby
Environment
Create development database 'jam_ruby'
createdb jam_ruby
Once you've created your database, migrate it:
bundle exec jam_ruby up