Web Development  >>  Ruby On Rails

Railscasts Week 7

Language : English Quality : High Has Audio : true Source : showmedo Media : Flash
Let Ryan Bates take you through a growing series of great Rails tips.

Tags: Ruby On Rails, Ruby, Web Development, Screencast, Showmedo, Administration,     [SUGGEST  A  TAG]

Resources referenced in this screencast
  • Ruby on Rails
  • Where Administration Goes

    This is the first part of a three part series on building an administration system. Many developers choose to separate it completely from the public side of the site by placing it into an admin subdirectory. This episode will show you an alternative and often better solution.

    Restricting Access

    In this second part of the series on administration, you will learn how to lock down the site to keep the public from accessing the administration features.

    Super Simple Authentication

    The final piece of the administration puzzle: authentication. There are many different approaches which is why I saved this step for last. This episode will cover a few techniques including the simple solution used for this site.


    Articles Realted to this Topic

    [SUGGEST  A  ARTICLE]
    Basic HTTP Authentication with Rails & simple_http_auth
    You’ve got a controller (or just a few actions) in your Rails app that you’d like to control access to, but don’t feel like dealing with some huge-ass plugin, generator, or engine (whatever the hell those are).
    Basic User Authentication in Rails
    The question of user authentication comes up regularly on the rails mailing list and there are several articles and discussions around the web on whether it should be part of the rails framework. Its not included in rails and it is not likely to be
    Restrict access by IP address
    In the main application controller, we read a small text file containing IP addresses then set a flag if the current IP address matches anything in the file
    Authorization in Rails
    Here's a review of several authorization add-on's for Rails. Whereas "authentication" refers to managing user login credentials, "authorization" is about managing role-based permissions to access specific areas of your site