cjilbert504

Joined

10,340 Experience
94 Lessons Completed
0 Questions Solved

Activity

Posted in SQL Learning Path - Getting Setup Discussion

Ok, you should be able to access the videos now. Sorry about that!

Posted in SQL Learning Path - Getting Setup Discussion

Whoops! Looking into this now, should be fixed soon, sorry about that.

Posted in Conditionals in Ruby Discussion

Hey Marissa,

Yep exactly right! The hash itself would look something like this:

PASSWORD_VAULT = {
  "service one" => {
    "username" => "Collin",
    "password" => "supersecret"
  },
  "service two" => {
    "username" => "other_collin",
    "password" => "supersupersecret"
  }
}

Posted in Adding Scheduled Blog Posts Discussion

The scopes work at the class level, so those will get you a collection of BlogPost records that are all either drafts, published, or scheduled.

The helpers are instance methods, designed to be used with a single blog post instance/record.

The helpers/instance methods are nice because it will not always be the case that you want a collection of draft posts, for example, you may be on the show page for a particular blog post and you could then use the helpers/instance methods to check the published_at status of that particular blog post instance.
Hope that helps!

Posted in Ruby Scripts & IRB Discussion

Definitely! Idk if I mentioned it in the video or not but you can go up the list with shift tab. šŸ˜Ž

Posted in Classes & Objects in Ruby Discussion

Thanks a bunch, Muhammad! I'm hoping to get the module video out in the very near future.

Posted in Hashes in Ruby Discussion

Hey Yago, while this is true, HashWithIndifferentAccess is only available via ActiveSupport. This section of the learning path is focused purely on Ruby.

Posted in Dynamic Nested Forms With Turbo Part 2 Discussion

Well, looked into it further. Def a bug. Rails doesn't like when you try to send that stuff through with the keys for the tasks as dom_id's which is a bummer. I got a fix you can see here https://github.com/gorails-screencasts/dynamic-nested-forms-with-turbo-get/commit/adfe726005c89f1c71b81f1ddf63c797bddad80a
I'm gonna look into this more when a have some free time to see what else can be done here bc I feel like there's a better option. Sorry about that but thanks for bringing it up, Willard!

Posted in Dynamic Nested Forms With Turbo Part 2 Discussion

Hmmm, I not sure but let me look into that for you and report back!

Posted in Better Debugging With The Ruby Debug Gem Discussion

Awesome! Glad to hear that Giedrius!

Posted in Law of Demeter and Delegation Discussion

Another wonderful comment, Ann! :) Thanks for the kind words, glad you appreciate the vibes and video as well!

Posted in Better Debugging With The Ruby Debug Gem Discussion

Hey there, I appreciate the comment. I do address this in the video though in addition to being able to use debugger instead of / in addition to binding.break.

Posted in Responsive Navigation with Turbo Discussion

Hey Nick, that was a scheduling mistake on our end. That video won't be out until August. Sorry for the confusion!

Posted in Dynamic Nested Forms With Turbo Part 2 Discussion

Hey Terry! Thanks so much for the kind words and Iā€™m super glad to hear that you enjoyed it and got some new tricks out of it!

Actually, I take it all back. What we have in the video is what we wanted. Adding started? caused the code to not function properly. The running? method that is not shown in the video is where the check for your suggestion lives. So we have since added the running? method back and reverted active? to just be end_time.future?

Yep! There was actually another method below the ones shown in the video that did just that so we didn't do that here (for the active? method). But we have since removed the other method in the codebase and adjusted active? to cover this. Thanks for the comment and sorry for any confusion!

Agreed!

Posted in Adding a Highlight Button to Trix Discussion

We can get that linked up in the notes soon. Will report back once complete!

Posted in Understand Scope Returns Discussion

Thank you! Glad you enjoyed it and learned something new!!

Posted in Integers & Floats in Ruby Discussion

Glad you found the video contents useful, thank you for watching!