Building Social Features in Ruby on Rails

Level
Logo Treehouse
Provider rating: starstarstarstarstar 9.5 Treehouse has an average rating of 9.5 (out of 4 reviews)

Need more information? Get more details on the site of the provider.

9
Average rating for Building Social Features in Ruby on Rails
Yasmin
starstarstarstarstar_half
Yasmin
9
Building Social Features in Ruby on Rails

"I really like the courses of Team Treehouse. They are informative and informal and taught through video. The course consists of different modules you're able to complete. After completing this course I'd built my own simple RoR-app, which felt really great and rewarding. Looking forward to the other courses!" - 2013-10-23 13:43

"I really like the courses of Team Treehouse. They are informative and informal and taught through video. The course consists of different mo… read full review - 2013-10-23 13:43

Starting dates and places

There are no known starting dates for this product.

Description

In our first Ruby on Rails project, we started building a simple social network called Treebook. Now we're ready to add friendships, friend lists, and AJAX features using intermediate features of the Ruby on Rails application framework.

  • Creating Friendships

    Let's add social features to Treebook! In this stage we're going to add friendships to our Treebook application. We'll start by creating a friendship model as well as learn what a join model and join table are.

    View Stage
  • Building the Friendship UI

    Now that we have our friendship models created and tested, we need to build the front-end to let users friend each other. We'll start by creating a controller for user friendships and integr…

  • Read the complete description

    Frequently asked questions

    There are no frequently asked questions yet. Send an Email to info@springest.com

    Didn't find what you were looking for? See also: Ajax, Ruby, Ruby on Rails, PHP, and Programming.

    In our first Ruby on Rails project, we started building a simple social network called Treebook. Now we're ready to add friendships, friend lists, and AJAX features using intermediate features of the Ruby on Rails application framework.

    Creating Friendships

    Let's add social features to Treebook! In this stage we're going to add friendships to our Treebook application. We'll start by creating a friendship model as well as learn what a join model and join table are.

    View Stage

    Building the Friendship UI

    Now that we have our friendship models created and tested, we need to build the front-end to let users friend each other. We'll start by creating a controller for user friendships and integrating that in to the application routes. Finally, we'll hook up the models to the new controller.

    View Stage

    Adding State

    It is important to be able to respond to different events in our friendship model. For example, when a user sends a friend request to another user, we want the requestee to get an email. We're going to use something called a state machine to manage this.

    View Stage

    Using AJAX

    Treebook is now working pretty well and allows users to friend each other. With all of this functionality in place, let's spice things up by adding some AJAX to our site for remote JavaScript interactions.

    View Stage

    Managing Friendships

    In this stage, we're going to allow users to manage their friends. We'll provide a new interface for listing, deleting, and blocking friends.

    View Stage
    9
    Average rating for Building Social Features in Ruby on Rails
    Based on 1 review
    Yasmin
    starstarstarstarstar_half
    Yasmin
    9
    Building Social Features in Ruby on Rails

    "I really like the courses of Team Treehouse. They are informative and informal and taught through video. The course consists of different modules you're able to complete. After completing this course I'd built my own simple RoR-app, which felt really great and rewarding. Looking forward to the other courses!" - 2013-10-23 13:43

    "I really like the courses of Team Treehouse. They are informative and informal and taught through video. The course consists of different mo… read full review - 2013-10-23 13:43

    There are no frequently asked questions yet. Send an Email to info@springest.com