Screencast Basecamp: Messages and Notifications Electives

  • Gregg Pollack
  • 3615 views
Badge student

Locked Content

A subscription is required for viewing this video. Enroll now to get full access to all Code School courses and content.

Enroll Now Sign in

Comments

  1. Benjamin said

    Nice video as always.

    Here is the link for ActiveJob: https://github.com/rails/activejob Looks awesome!

  2. Faculty

    Carlos Souza said

    Thanks, Benjamin! I've added the link to the Resources tab.

  3. Karim said

    You guys are great! Awesome videos, thanks a lot :)

  4. Paz Aricha said

    Great series guys. Really interesting. I love the "Snatch" style transition between your office and Chicago :)

  5. Trevor Wistaff said

    Any reason why you chose to use a class method for NewMessageJob.async_perform_each? Is it simply because you don't want/require and instance of the class?

  6. Faculty

    Carlos Souza said

    Great question, Trevor. You are right, I did that mostly because I didn't want to create an instance of the class and then call an instance method. This is a pattern that I use a lot for creating async jobs from controller actions - just calling a class method. In my opinion this reads better as a one liner.

  7. Robert (Robby) O'Connor said

    Carlos, why do you not use tpope's helpers from rails.vim for navigating rails projects?

  8. Faculty

    Carlos Souza said

    Hey Robby, do you mean Rcontroller, Rmodel and etc ? No particular reason. I think I just never added those to my brain. I do use things like gf, though, which I find extremelly useful.

  9. Harrison said

    Really fun and practical video. Keep it up!

  10. Student #1271754 said

    @Caike in the sample app's messages controller, the message_params filter, what's to stop a user from passing fake user ids: ...permit(:body, { subscriber_ids: [] }) ?

  11. José Esteves said

    Great video! active job has been merged to rails so the new link is https://github.com/rails/rails/tree/master/activejob

About This Screencast

In this episode of Feature Focus, Gregg Pollack and Carlos Souza walk you through their creation of Basecamp's messaging and notification functionality. They're joined by David Heinemeier Hansson, the founder and CTO of Basecamp (and creator of Ruby on Rails), who provides feedback on their feature implementation.

Feature Focus is a screencast series focused on practical feature builds and development problem solving. Watch as we build out well-known site features in a simple way and then sit down with the original product developer to get feedback on our implementation.

You need to be an enrolled student in order to view this video and subscribe.

Enroll Now