Jump To Content

LearnHub



Lessons

  • Lesson

    Action Controller: What does a controller do?

    Description
    What does a controller do? Action Controller is the C in MVC. After routing has determined which controller to use for a request, your controller is responsible for making ...
  • Lesson

    How to use Fliqz4R

    Description
    About Fliqz Fliqz is the leader in full-service, plug-and-play video solutions. The company offers the most flexible video solutions available online, provi...
  • Lesson

    Upgrading non-trivial apps to Rails 2.1

    Description
    For simple Ruby on Rails apps that use very few plugins, upgrading may be as simple as: rake rails:update For everyone else, there may be some work to do. Step 1: U...
  • Lesson

    World's Best Rails Hiring Process

    Description
    Here is my hiring process for Rails developers. This continues some thoughts I shared in a guest blog post on Ruby Inside, called 11 Tips on hiring a Rails Developer. ...
  • Lesson

    Action Controller: Parameters

    Description
    Parameters You will probably want to access data sent in by the user or other parameters in your controller actions. There are two kinds of parameters possible in a web app...
  • Lesson

    Learning how to Learn Rails

    Description
    1. Get a Mac I’m serious. If you don’t have a Mac then give up or expect lots of pain, no help or sympathy.99.9% of the Rails community are running on Macs.Almost ...
  • Lesson

    Dealing with Microsoft Office Protocol Discovery in Rails

    Description
    Opening hyperlinks the ‘Microsoft Way’ When you embed a link in a Microsoft word document, Word will use “Microsoft Office Protocol Discovery” to de...
  • Lesson

    Action Controller: The request and response objects

    Description
    The request and response objects In every controller there are two accessor methods pointing to the request and the response objects associated with the request cycle that ...
  • Lesson

    Action Controller: Session

    Description
    Session Your application has a session for each user in which you can store small amounts of data that will be persisted between requests. The session is only available in ...
  • Lesson

    Using Haml

    Description
    An introduction to haml haml is template languages for Ruby on Rails. It’s a plugin that provides an alternative to Rails’ native view templating library erb. s...
  • Lesson

    How to switch your default session store

    Description
    About Rails session stores Sessions allow you to store objects in memory between requests. This is useful for objects that are not yet ready to be persisted, such as a Sign...
  • Lesson

    Ruby Coding Convention

    Description
    RubyCodingConvention File Names Directory and File names and Suffixes Ruby source code file/directory name is lower case class/module name with suffix ’...
  • Lesson

    Action Controller: Rescue

    Description
    Rescue Most likely your application is going to contain bugs or otherwise throw an exception that needs to be handled. For example, if the user follows a link to a resource...
  • Lesson

    Action Controller: Filters

    Description
    Filters Filters are methods that are run before, after or “around” a controller action. For example, one filter might check to see if the logged in user has the...
  • Lesson

    Using the Immutable Attribute Plugin

    Description
    Rails surprisingly does not include a validation method to make a model attribute immutable. (That is, the attribute can not be changed after it is set the first time.) I create...
  • Lesson

    Action Controller: Streaming and file downloads

    Description
    Streaming and file downloads Sometimes you may want to send a file to the user instead of rendering an HTML page. All controllers in Rails have the send_data and the send_f...
  • Lesson

    Nginx + HaProxy usage and a gotcha

    Description
    I’ve recently switched from using a straight up Apache mod_proxy + mongrel setup to Nginx + HaProxy +mongrel. Basically, mod_proxy is dumb as shit, and should never be use...
  • Presentation

    Netbeans Fast Debugger for Ruby

    Description
    How to use Netbeans FastDebugger for Ruby/Rails on Leopard/
  • Lesson

    Getting Started With Rails

    Description
    This guide covers getting up and running with Ruby on Rails. After reading it, you should be familiar with: Installing Rails, creating a new Rails application, and con...
  • Video

    Ruby Basics - Session 5

    Description
  • Presentation

    Uptodate on TextMate Bundles

    Description
    How to keep uptodate on TextMate Bundles
  • Video

    Ruby Idioms - Session 3

    Description
  • Video

    Ruby Idioms - Session 1

    Description
  • Lesson

    RailsConf 2008 Summary & Review

    Description
    Here is the presentation file we’ve used for Toronto Ruby on Rails Project Night yesterday. | View | Upload your own Some useful links: Railsconf 2008 in 36 minutes M...
  • Video

    Ruby Basics - Session 1

    Description
    Ruby Basics Screen CastSession 1
  • Video

    Ruby Basics - Session 4

    Description
  • Lesson

    Railsconf 2008 in 36 minutes

    Description
    Gregg Pollack conducted nineteen (!!) video interviews with Railsconf presenters. They give an overview of what they presented, and hit on the key points of what they presented....
  • Lesson

    RORB 1. Knowing your Tools

    Description
    Ruby is an computer language to control the behavior of machines. If that doesn’t make sense maybe this scenario will. Real World Scenario If you had a giant ro...
  • Lesson

    Ruby Enterprise Edition, Passenger and Rails 2

    Description
    IntroThere are certain products which are currently shaking the Ruby / Rails community:One of them is the infamous Phusion Passenger which makes deploying Rails applications a p...
  • Video

    Ruby Keyword Arguments

    Description