<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>PaulBarry.com - 5 Rails Tips</title>
  <subtitle type="html">My thoughts, ideas, questions and concerns on technology, sports, music and life</subtitle>
  <id>tag:paulbarry.com,2007:Paulbarry.com</id>
  <generator uri="http://www.paulbarry.com" version="3.0">PaulBarry.com</generator>
  <link href="http://paulbarry.com/xml/atom/article/4892/feed.xml" rel="self" type="application/atom+xml"/>
  <link href="http://paulbarry.com/articles/2008/04/19/5-rails-tips" rel="alternate" type="text/html"/>

  <updated>2008-08-17T04:28:58-04:00</updated>
  <entry>
    <author>
      <name>Paul Barry</name>
      <email>mail@paulbarry.com</email>
    </author>
    <id>urn:uuid:1f3208c0-471a-4548-b49b-fb3ffacc2ecc</id>

    <published>2008-04-19T16:39:17-04:00</published>
    <updated>2008-04-19T16:39:17-04:00</updated>
    <title type="html">5 Rails Tips</title>
    <link href="http://paulbarry.com/articles/2008/04/19/5-rails-tips" rel="alternate" type="text/html"/>

    <category term="technology" scheme="http://paulbarry.com/articles/category/technology" label="Technology"/>
        <category term="Railscasts" scheme="http://paulbarry.com/articles/tag/railscasts"/>
    <category term="Rails" scheme="http://paulbarry.com/articles/tag/rails"/>
    <category term="Ruby" scheme="http://paulbarry.com/articles/tag/ruby"/>
    <category term="5RailsTips" scheme="http://paulbarry.com/articles/tag/5railstips"/>
        <summary type="html">&lt;p&gt;Ryan Bates, the author of &lt;a href=&quot;http://railscasts.com&quot;&gt;Railscasts&lt;/a&gt;, just reached his 100th episode.  Railscasts is a fantastic free resource for learning about Ruby on Rails.  Congratulations, Ryan! &lt;/p&gt;

&lt;p&gt;To celebrate his 100th episode, he&apos;s running a &lt;a href=&quot;http://railscasts.com/contest&quot;&gt;contest&lt;/a&gt; with some great prizes.  The contest is to submit your own 5 Rails tips, much like Ryan did in &lt;a href=&quot;http://railscasts.com/episodes/100&quot;&gt;Episode 100 of Railscasts&lt;/a&gt;.  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:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/sending-liquid-based-email-with-rails&quot;&gt;Sending Liquid-based Email with Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find out how to let the administrative users of your application update email templates.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/importing-data-with-rails&quot;&gt;Importing Data with Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Learn how to use Rails and object-oriented techniques to import data into your Rails app.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/serving-images-stored-in-the-database-with-rails&quot;&gt;Serving Images Stored in the Database with Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;See how to take advantage of Rails&apos; page caching to serve images that are stored in your database.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/using-activerecord-composed-of&quot;&gt;Using ActiveRecord Composed Of&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Make use of the &lt;code&gt;composed_of&lt;/code&gt; feature in ActiveRecord to treat multiple fields within a model as one object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/using-lowpro-to-create-autotab-using-unobtrusive-javascript-and-rails&quot;&gt;Using Lowpro To Create Autotab using Unobtrusive JavaScript and Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you find these tips helpful, be sure to let Ryan know! :)&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;Ryan Bates, the author of &lt;a href=&quot;http://railscasts.com&quot;&gt;Railscasts&lt;/a&gt;, just reached his 100th episode.  Railscasts is a fantastic free resource for learning about Ruby on Rails.  Congratulations, Ryan! &lt;/p&gt;

&lt;p&gt;To celebrate his 100th episode, he&apos;s running a &lt;a href=&quot;http://railscasts.com/contest&quot;&gt;contest&lt;/a&gt; with some great prizes.  The contest is to submit your own 5 Rails tips, much like Ryan did in &lt;a href=&quot;http://railscasts.com/episodes/100&quot;&gt;Episode 100 of Railscasts&lt;/a&gt;.  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:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/sending-liquid-based-email-with-rails&quot;&gt;Sending Liquid-based Email with Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find out how to let the administrative users of your application update email templates.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/importing-data-with-rails&quot;&gt;Importing Data with Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Learn how to use Rails and object-oriented techniques to import data into your Rails app.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/serving-images-stored-in-the-database-with-rails&quot;&gt;Serving Images Stored in the Database with Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;See how to take advantage of Rails&apos; page caching to serve images that are stored in your database.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/using-activerecord-composed-of&quot;&gt;Using ActiveRecord Composed Of&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Make use of the &lt;code&gt;composed_of&lt;/code&gt; feature in ActiveRecord to treat multiple fields within a model as one object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href=&quot;http://paulbarry.com/articles/2008/04/19/using-lowpro-to-create-autotab-using-unobtrusive-javascript-and-rails&quot;&gt;Using Lowpro To Create Autotab using Unobtrusive JavaScript and Rails&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you find these tips helpful, be sure to let Ryan know! :)&lt;/p&gt;
</content>
  </entry>
  </feed>