Just finished my exercise tracker. Bit nervous there may be a few lingering bugs. Would really appreciate any time people could put into breaking it. Also any general constructive criticism is greatly appreciated. Thanks in advance
ahhh last thing I added. Think i was just a bit excited at that point Changed it to a triple = sign. Just want to check this was the bug you were referring to?
You could store dates in ‘milliseconds from 1.1.1970.’ format and use .gt('date', from) and .lt('date', to) on your queries. But, then you need to have two separate models, one for a user and one for a log of exercises. And then you need to connect log with a related user.