initial commit
rspec configs
fetching and storing data from remote server. dont think we need to persist data. it should be enough to keep it in memory
class variables are not inherited, which i acutally need here. unless i've made a huge mistake. all the sports into ruby objects
finding single sport. this in turn gives us all the events single sport has
searching in events array to get a single event.
outcome model
collection of sports and single sport
events controller
refactored a bit. always nice to keep it DRY.
outcomes controller
request test. 404 not found. like haml better
events requests. looking good
outcomes request. and it worked. remarkable
bootstrap, just for it not to fall completely apart. on init, lets get some data.
forgot about the initializer... and events list
outcomes template. didnt get the outcomes for a single event in the end..
a bit of clean up
sorting
small fix. an empty array of data is valid