Blog

A Demo On Creating a sample form in rails application

Web forms Creation is perhaps the most common task in Web development. This video is intended to demonstrate the procedure for  Creating a simple form using rails.Check out the video below with step-by-step process. Here are few high level steps that were followed in the video.

[youtube=https://www.youtube.com/watch?v=GpAHE40y240&w=600 &h=400]
  • Create a Model  Sample Form with attributes
  • Create a Controller for the Model
  • Migrate both Model and Controller with the following command
    “rake db:migrate”
  • If you want to change the background color  you can modify it in application.html.erb file
  • Save All the Files and run the same on server

This illustrated video was created by Pavan Dasari, Software Engineer and Ruby on Rails Developer at Amzur Technologies