danielswaine / SodburyChallenge

A Rails app to help manage an overnight orienteering competition.
GNU General Public License v3.0
0 stars 1 forks source link

Add AJAX functionality #3

Open danielswaine opened 8 years ago

danielswaine commented 8 years ago

Having a quick google, there's a gem called Best in Place, could this be used to update the required times?

Not the end of the world for this one by first release. Scoring is more important don't you think? :stuck_out_tongue:

Yes that would be great! Having a separate form for them was going to be a bit cumbersome. Do you fancy giving it a go?

I'll give it a go :) it looks reasonably simple, hope I haven't spoken too soon!

Although looks like you've already started!

All I've done is install it haha, I'll leave it and work on the scoring instead. I think you'll need to replace the if statements cause they only update on refresh.

Could you add it to the challenge date and time allowed fields on the challenges page as well? That way we can dispense with the edit button and replace it with a manage route button. Okay I'll have a go at it. How's the scoring going?

I'll see what I can do...

AJAX instead of refreshing will let us use turbolinks again.