5 Rails Tips

April 19, 2008

Ryan Bates, the author of Railscasts, just reached his 100th episode. Railscasts is a fantastic free resource for learning about Ruby on Rails. Congratulations, Ryan!

To celebrate his 100th episode, he's running a contest with some great prizes. The contest is to submit your own 5 Rails tips, much like Ryan did in Episode 100 of Railscasts. This blog post is my entry into that contest. I have posted 5 articles today which include tips on various aspects of Rails. They are:

  1. Sending Liquid-based Email with Rails

    Find out how to let the administrative users of your application update email templates.

  2. Importing Data with Rails

    Learn how to use Rails and object-oriented techniques to import data into your Rails app.

  3. Serving Images Stored in the Database with Rails

    See how to take advantage of Rails' page caching to serve images that are stored in your database.

  4. Using ActiveRecord Composed Of

    Make use of the composed_of feature in ActiveRecord to treat multiple fields within a model as one object.

  5. Using Lowpro To Create Autotab using Unobtrusive JavaScript and Rails

    Provide your users with an easy shortcut for entering in multi-field data types like phone numbers without filling up your views with lots of JavaScript code.

If you find these tips helpful, be sure to let Ryan know! :)

Posted in Technology | Tags Railscasts, Rails, Ruby, 5RailsTips | 0 Comments