Comments (3)
the two requirements say the same?! No Go has only a meaning if a customer wants that genre? Is there a difference between "Don't have it" and "No Go"?
from wishmemusic.
No, just want to make sure...You got it.
from wishmemusic.
I added an exclude_flag which is set true if an DJ has a NoGo for a demanded kind of music. Because of it's complexity I made a lib file from that piece of code ( match_score.rb ).
Have a look in the test case spec/calc_match_score_spec.rb. Test with:
rspec -Ilib spec/calc_match_score_spec.rb
To play with test data I created a script ( script/create_test_data/create_test_data.sh ) that build a sqlite3 db ( test_data.sqlite3 ) from SQL-Text-Files in the directory script/create_test_data. Use the script with:
script/create_test_data/create_test_data.s
mv script/create_test_data/test_data.sqlite3 spec/test_data/
Then I re-factored the main app to use the lib. To make the use of the lib classes more convenient I included my namespace (module DiscJockey in the lib files) into the main class (line 14 of disc_jockey_controller.rb ).
from wishmemusic.
Related Issues (20)
- release condition HOT 2
- Referenzen
- Mouseover Effect
- Remove SONSTIGES from Hintergrund Musik HOT 1
- Mouse Rollover Effect on Music HOT 4
- DJ finden instead of DJ suchen Button HOT 1
- Referenzen/ Guestbook
- Calendar entry within the Event page HOT 3
- DJ time from to HOT 3
- Group Contact form HOT 1
- Email should provide all infos from user HOT 2
- 4 rating attributes: Viel Mittel Wenig NoGo HOT 3
- block fake user HOT 3
- create spec for database
- create spec for web interface
- Contact details HOT 3
- Layout Contact HOT 1
- Contact Layout age HOT 1
- Add sticke session support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wishmemusic.