#AtHomeBootCamp D2

Submitted over 4 years ago

(8:15pm - 10:30pm)

* Got my dev environment finally working by uninstalling rbenv and brew linking to the newest version of Ruby, then installing gems to the newest Ruby version
* Fixed the login to my budget app - I was generating a header link based on the current_user variable, which couldn't generate properly if a user wasn't yet logged in. I made it so that link only loads conditionally for logged in users.
* Did my first database calculations at load time in my budget app by showing the user how much they have left to save on a particular budget. This is calculated by subtracting the budget goal by the sum of all the transactions that have been added for that budget.

As you can see, I'm using the #100DaysofCode format for these blog updates as I found it really helpful.

I had an appointment during my lunch break today, so I'll need to be sure to make up an hour at some point this week. That said, I feel like I made good progress in the 2 hours I've been working, especially since I had to spend almost the whole first hour fiddling with my dev environment/Ruby setup again. I tried creating a gemrc file to tell gem env where to look for installed gems, but it was still deferring to the system Ruby version, which was an old one at 2.3 and only had a few gems installed. After some more searching online, I finally decided to uninstall rbenv - I hope that doesn't come back to bite me. After doing that, I tried installing the newest version of Ruby with homebrew. It told me that I already had the latest version installed, and that I just needed to brew link it. Once that was done I restarted iTerm, installed the gems I needed (mostly nokogiri, though I had to install the pristine version) to my latest Ruby version, and I was off! That allowed me to run rails assets:precompile on my blog app so that I could get my little bit of CSS loading properly again.

In my second hour, I got all the work done on my budget app. I removed a file I'd staged for a git commit for possibly the first time, performed calculations on data in a live rails app for the first time to figure out how much a user has left to save, and fixed a pesky issue that was preventing the login page from loading.

Next up on my list to update for my budget app is making it so that login doesn't just direct one to the appropriate user profile, but so that it's actually required to get to any user's profile.

Link to work
Here are today's commits:
* https://github.com/twoesplease/budget-app/commit/c787f6e93978099f9b2d57a49d91492ea6c297cc
* https://github.com/twoesplease/budget-app/commit/c673165254681644b19f2e8ced6885ebb3e12838
* https://github.com/twoesplease/personal_site_blog/commit/228382fa8b92d7b47a828ba5fbbe83c8f636e503



slottica opinie slottica bonus bez depozytu slottica bonus bez depozytu 2021 slottica 18 slottica casino slottica bonus slottica logowanie slottica 23 slottica aplikacja slottica pl slottica free spins slottica slottica 20 slottica zaloguj slottica darmowe spiny slottica wyplata <a href=https://slottica-pl.com>slottica 23</a> slottica wyplata <a href=https://slottica-pl.com>slottica logowanie</a> slottica bonus bez depozytu 2021 <a href=https://slottica-pl.com>slottica logowanie</a> slottica pl <a href=https://slottica-pl.com/category/gry-darmowe>slottica bonus</a> slottica 18 <a href=https://slottica-pl.com/category/gry-darmowe>slottica bonus bez depozytu 2021</a> slottica 18 slottica free spins slottica 23 slottica pl slottica wyplata slottica logowanie slottica kasyno slottica darmowe spiny slottica slottica 20 slottica casino <a href=https://slottica-pl.com>slottica wyplata</a> slottica free spins <a href=https://slottica-pl.com/category/gry-darmowe>slottica bonus za rejestracjД™</a> slottica zaloguj <a href=https://slottica-pl.com>slottica zaloguj</a> slottica bonus za rejestracjД™ <a href=https://slottica-pl.com>slottica kasyno</a> slottica aplikacja <a href=https://slottica-pl.com>slottica logowanie</a> slottica logowanie slottica darmowe spiny slottica bonus slottica aplikacja slottica kasyno

12 months ago


vulkan casino logowanie vulcan kasyno vulkan vegas 23 kasynovulkan vulcan vega vulkan vegas legalne w polsce vulcan casino logowanie vulkan vegas kasyno vulkan vegas pl vulkan vegas 24 vulkan vegas casino login vulkan kasyno vulkan vegas casino vulkan vegas zaloguj vulkan vegas logowanie vulkanvegas23 <a href=https://vulkanvegas100.pl>vulkan kasyno</a> vulcan kasyno <a href=https://vulkanvegas100.pl>vulkan vegas casino login</a> vulkan vegas legalne w polsce <a href=https://vulkanvegas100.pl>vulkan vegas login</a> vulkan vegas zaloguj <a href=https://vulkanvegas100.pl>vulkanvegas23</a> vulkan vegas legalne w polsce <a href=https://vulkanvegas100.pl>vulkan vegas kasyno</a> vulcan vega kasynovulkan vulkanvegas23 vulkan vegas vulkan vegas zaloguj vulkan vegas logowanie vulkan vegas login vulcan kasyno vulkan casino logowanie vulkan vegas casino vulkan kasyno <a href=https://vulkanvegas100.pl>vulkan vegas logowanie</a> vulkan kasyno <a href=https://vulkanvegas100.pl>vulkan vegas legalne w polsce</a> vulcan casino logowanie <a href=https://vulkanvegas100.pl>vulkanvegas casino</a> vulkan vegas <a href=https://vulkanvegas100.pl>vulkan casino logowanie</a> vulkan vegas pl <a href=https://vulkanvegas100.pl>vulkan vegas login</a> vulkan vegas legalne w polsce vulkan vegas kasyno vulkan vegas logowanie vulkan vegas casino vulkan vegas zaloguj

10 months ago

Add a comment: