Belated realisation that it is Udacity and not Udemy. All's cool.
Went through the entire tutorial. It was awesome! I didn't realize it would be that straightforward but then again, I'll never know the quirks until I try a different project that involves ActionCable. I kinda shy away from ActionCable mainly due to the need for Redis but apparently, Heroku has a free Redis plan so why not right....
Oh great. An ActionCable tutorial by none other than Michael Hartl! His Rails tutorial was one of my main resource in learning RoR, giving me some foundation which led to the multiple creation of other random web apps, including this one. Time to sink in and learn some ActionCable!
Its been awhile since i code so i decided to start working on my blog tonight.
Forgotten what comes after 'rails new' to set up rails with postgresql. It's '-d postgresql'.
Ran rake db:migrate but database was not found. Tried sudo service postgresql start but failed because db was not created at all so i created one with rake db:create.
Had to refer to minigram app on how to write strong params.
Was going to set up devise but actually its good enough for a blog already i just need the front view now.
Going to try to create a nice view and maybe add in tags and comments later. Being lazy but just trying to keep it simple too.
You know you've not looked at your code for ages when you're unsure how things are triggering. For a moment, I was dumbfounded by the fact that OMG is sending out welcome emails while I was struggling to find out where it came from in my local source code.
The next wisest thing (which wasn't really obvious right from the start) was to just pull the source code from the hosting environment.
Surprise! My local source code wasn't up to date. But where was the latest changes pushed from? I can only conclude that I made the push from somewhere else. I don't want to lose sleep thinking too much about it :(
Moral of the story? Stop being lazy and always push the master branch to a remote git repository like Bitbucket or Github. Of course, that wouldn't matter if we don't perform a git pull from the updated source, may it be the remote repository or the hosting environment itself...
To be honest, I've been shying away from Rails 5. Its either
Well I've not been on the development end that much. Although, I do feel the itch to just create something for fun. I've not really explored Rails 5 despite following a tutorial to create an API which was pretty straightforward.
For a start, I can upgrade OMG to Rails 5. That would be fun, considering that I don't have test coverage (oops) and I'd probably break things here.
And of course, there's action cable. Would be nice to have some real time element and perhaps replace the polling strategy that I'm using for notification. Well I better not have too much on my plate. We know how that would usually turn up......
8 October. Another attempt at skating back. My ankle seems to feel better, although there's still hurting every now and then. That aside, what hurts more is my back. Totally forgot about warming up and alas, I felt the impact shooting up when I attempted a fs half cab flip. It's not the best feeling ever (I have to admit that my back is pretty screwed for a while now).
Applying plenty of yoko yoko to my back at the moment, hoping it would help. Fingers crossed.
In the meantime, I'll have to forsake this goal due to unforeseen injuries. It's been dragging for far too long and I've got to say that it's not been going pretty well thereafter. Better luck next time!
Unfortunately, my progress got halted due to a bad ankle sprain. I was out of action for 3 weeks. The day where I skated back again on 5th September, it hurts like hell for the first flip trick.
I don't know. Everything feels different now. My drive for skating, it's just diminishing rapidly...
Day #6 Once again, sidetracked from actually skating switch fully. But hey, I'm still warming up with the switch tricks. The weird thing is, I struggled with varial flip for no reason. Even weirder, I landed varial heelflip a number of times, bolts. Like what is going on? Oh well. On the other hand, I surprised myself by doing 50-50, nollie 50-50, 50-50 180 out, 50-50 fs shuvit out and finally the unexpected one. 50-50 kickflip out.
How did that even happen? Out of the blue, I decided to position my feet in a kickflip position before attempting to do the 50-50. While doing this, I had no idea how I manage to adjust my front foot but I believe I was centered enough to perform the flip out. That's the key I suppose. When I'm centered, it felt just like a normal flatground roll and flip.
But of course, I only manage to land it once, clean. The rest were just close enough (noticed that i was leaning far too forward most of the time after adjusting my front foot and trying to flip it).
Please, don't let this be a lucky shot....