Skip to content

JohnObla/stocking

Repository files navigation

Learning Process

Created this project to learn Ruby on Rails

Below is a documentation of my learning process.

  1. Decided I wanted to learn Ruby

  2. Found a nice looking rails course with projects

  3. Course recommened I have an understanding of Ruby

  4. Completed intro to beginners course, to learn Ruby syntax

  5. Continued with original Ruby course

  6. Ruby course recommended I use an online code editor for ruby (cloud 9 or codeanywhere)

    I decided against this as I'd miss out on a huge learning experience if I used a pre-packaged IDE

  7. Began setting up Ruby and Rails on my windows machine

  8. Kept consistently running into different errors

  9. Every error I troubleshooted (troubleshot?) in stack overflow recommended not to use Windows for Ruby on Rails development

    Main reasons were due to Windows binaries conflicting with the Ruby/Rails code

  10. Decided to use Linux for my IDE setup (no previous experience with Linux)

  11. Downloaded the Linux Ubuntu ISO file from their official website and span up a virtual machine using Virtual Box

  12. Continued Ruby on Rails setup with my Ubuntu VM

  13. Ran into an issue where the saasc bundle gem entry would stall while attempting to bundle

  14. Searched the internet and found an open bug for this issue on saasc's github repo

  15. Found my own workaround by running Rails 5 instead of Rails 6

    Commented my workaround on the github bug page: sass/sassc-ruby#209

  16. Successfuly created my first Rails projects

  17. Learned how Ruby + Rails handles the MVC framework

  18. Bug author for sassc bug solved his own issue by increasing the ram on his linux virtual machine

    Sadly I couldn't use his solution as I don't have enough ram to allocate

    I carried on using my workaround

  19. Learned about ActiveRecord basics and how it interacts with classes and models

  20. Due to slow nature of my ruby course, found another that emphasises project creation

  21. Discovered RailsInstaller.org and switched back to windows after recurring sassc bug

  22. Fixed a problem with sqlite3 fetching the wrong version in the gemfile

  23. Bootstrap refuses to import, found out I didn't include the gem entry for bootstrap!

  24. STILL GETTING SASSC issue

  25. Solved sassc issue by downgrading to version 2.1.0!!! 🥳

  26. Installed bootstrap on the back of this!

  27. Latest push to GitHub flagged security issues, couldn't fix as they require the latest version of Rails

    An older rails version must be used as it's what comes with the railinstaller.exe

  28. Taught myself error handling using 'rescue' as the api version I'm using throws an error instead of returning null

  29. Also handled a NoMethod error as the api is flaky with how it handles incorrect symbols

  30. Learnt more about Rails database abstraction

  31. Got user authentication working 🥳

  32. Pausing this lecture to start with testing + TDD ✅

    ☝ _https://github.com/johnobla/tdd

    ☝ _https://github.com/johnobla/tdd2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published