Creating Posts


Not CompletedHow to Use the Resource Generator to Create Posts

In this lesson, we are going to create a Post model using the resource generator. We are using the resource generator as it will create all the files we need for our model, unlike a a scaffold that would create a ton of files, some of which we may not even need.

Not CompletedHow to Create an Index View Using BDD in Rails

In this section we're going to build out the index view for our posts using BDD. To start with, I'm going to create a file called post_spec.rb inside the spec/features directory for our integration tests.

Not CompletedImplement Sample Data into a Rails App Using the Seeds File

This is going to be a fun episode. In this guide we're going to leverage the Rails seeds file to generate sample data for the application. To start, open up the db/seeds.rb file.

Not CompletedHow to Build CRUD Functionality in Rails via BDD

In this guide, we are going to implement the ability to create new posts and we're going to use BDD to build out the feature.

Not CompletedRefactoring the Post Creation Process in a Rails App

Now that our code is working fine, it's time to ensure that it follows Rails best practices.

Not CompletedBuilding a Relational Connection Between Models in Rails Using TDD

In this guide we're going to implement a connection between two models in Rails and we're going to use TDD to build the feature.

Quizzes


Creating Posts
    Unsupported Browser

    devCamp does not support ancient browsers.
    Install a modern version for best experience.