Spent the day adding cart stuff to minicapstone, then reformatting the orders model and controller to work with the cart.
Today we broke our brains figuring out how to use join tables in rails. Creating the models was easy, having them reference each other was easy, figuring out how to call them and use them productively was hard.
Today we added order functionality to our minicapstones... basically we struggled through implementing everything we've learned so far.
Today we learned much! Went over authentication and creating an ordering function for our apps, then went over big o notation, specifically binary sort functions. Then spent some time networking and then whiteboarding.
We spent the day working through a coding problem that is apparently commonly used in applications. It involved working with json files and other stuff out of my comfort zone.
Spent the day manipulating the params with active record queries... it was frustrating at first.
Learned how to search through data tables using SQL queries, also learned about data structures and how steps accumulate as they are iterated through.
Learned how to manipulate db models after the initial migration, did stuff with that, explored how to figure out truthy and falsey values, did stuff with && and || operators.
Tuesday we learned much about the edit, update and delete routes, and applying them in a CRUD application. Wednesday we mostly spent the day making our websites more beautiful using bootstrap. Stay tuned for today's!
Continued learning about params, continued learning about routes and controller and gets and post and how to name them properly.