Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Controller in Rails

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 173
    Comment on it

    The logical center of your application, which provides interface between model and view is Controller. It is used to handle people-friendly URLs . Sessions are also managed by Controllers, providing users the facility of an ongoing interaction with our applications.

    Process of creating controller:

    $ rails generate controller Name
    

    After looking at Name_controller it will give the following-

    class NameController < ApplicationController
    end
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: