Model Structure
Explore how to plan and create the essential models for a basic Rails application. Understand how to define model attributes and relationships, generate scaffolds for rapid development, and set up database migrations to build a functional link sharing app with user authentication and interactive features.
We'll cover the following...
We'll cover the following...
Before you jump into coding up your application, you need to decide what features your application will have. This will help you break down the implementation and make the coding part easier. The focus of the application created here will be more on the functional aspects, as compared to the aesthetic aspects.
You will create a simple link sharing application. The basic functional features we want are as follows:
- Allow users to share and view links
- Allow users to sign-up, sign-in, and sign-out
- Allow signed-in users to submit and edit links
- Allow signed-in