<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Article RSS Feed</title>
    <link>http://your-web-site.com/rss/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The main blog feed for my Web site.</description>
    
    
        <item>
          <title>None Meaner...</title>
          <description>&lt;p&gt;&lt;img src=&quot;http://i1023.photobucket.com/albums/af357/thespacemonkey666/DLH_2010_RIGHT.jpg&quot;/&gt;&lt;/p&gt;
&lt;p&gt;The Flaming Wall of Death...&lt;br/&gt;
&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/E4nRWlAKRAY&amp;hl=en&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/E4nRWlAKRAY&amp;hl=en&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;
&lt;/p&gt;
&lt;div id=&quot;disqus_thread&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
   var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
   dsq.src = 'http://sobyteme.disqus.com/embed.js';
   (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  })();
&lt;/script&gt;
&lt;noscript&gt;Please enable JavaScript to view the &lt;a href=&quot;http://disqus.com/?ref_noscript=sobyteme&quot;&gt;comments powered by Disqus.&lt;/a&gt;&lt;/noscript&gt;
&lt;a href=&quot;http://disqus.com&quot; class=&quot;dsq-brlink&quot;&gt;blog comments powered by &lt;span class=&quot;logo-disqus&quot;&gt;Disqus&lt;/span&gt;&lt;/a&gt;
</description>
          <pubDate>Wed, 28 Jul 2010 03:07:18 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/07/28/none-meaner-/</guid>
          <link>http://your-web-site.com/news/2010/07/28/none-meaner-/</link>
        </item>
    
        <item>
          <title>Brown Sauce for life</title>
          <description>&lt;p&gt;First up install Radiant...&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;gem install radiant&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;and you'll also need the heroku gem...&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;gem install heroku&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;you might need to install a few dependencies for radiant to work notably some cucumber versions won't play ball, mine seemed happy straight off. So create a radiant app...&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;radiant oohsaucy&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;cd oohsaucy&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Assuming you have git installed on your system&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;git init&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;git add .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;git commit -m &amp;quot;The all new Ooh Saucy app&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now time to do some Heroku magic&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;heroku create&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco, monospace; line-height: 20px; white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 'Courier New'; line-height: normal; white-space: normal; &quot;&gt;$&amp;nbsp;&lt;/span&gt;git remote add heroku git@heroku.com:oohsaucy.git&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;so now we have version control hooked up to Heroku's repo we can start developing the app.&lt;/p&gt;
&lt;p&gt;First thing is to configure gems so that when we push to Heroku it knows our app's dependencies...&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;vi .gems&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and add the lines&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;rails -v=2.3.5&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;radiant&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;save the file&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;git add .gems&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;git commit -m &amp;quot;Gem dependencies for Heroku deployment&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;now do your thing with the application locally and when you are ready to hit the big red launch button...&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;git push heroku master&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and because it's a radiant app we need to bootstrap the production db&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;heroku rake db:create:all&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;heroku rake db:migrate&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$&amp;nbsp;heroku rake production db:bootstrap&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;now you might want to seed a bit of data you set up in development (no doubt some people will frown at this, frown away, this is about expedient development not chin scratching theory).&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;$ heroku db:push&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;this exports your local db to heroku's production db.&lt;/p&gt;
&lt;p&gt;You're done. Heroku will give you back the url your app is deployed to in the console so you can configure your domain name DNS accordingly.&amp;nbsp;&lt;/p&gt;

&lt;div id=&quot;disqus_thread&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
   var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
   dsq.src = 'http://sobyteme.disqus.com/embed.js';
   (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  })();
&lt;/script&gt;
&lt;noscript&gt;Please enable JavaScript to view the &lt;a href=&quot;http://disqus.com/?ref_noscript=sobyteme&quot;&gt;comments powered by Disqus.&lt;/a&gt;&lt;/noscript&gt;
&lt;a href=&quot;http://disqus.com&quot; class=&quot;dsq-brlink&quot;&gt;blog comments powered by &lt;span class=&quot;logo-disqus&quot;&gt;Disqus&lt;/span&gt;&lt;/a&gt;
</description>
          <pubDate>Mon, 26 Jul 2010 04:18:27 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/07/26/brown-sauce-for-life/</guid>
          <link>http://your-web-site.com/news/2010/07/26/brown-sauce-for-life/</link>
        </item>
    
        <item>
          <title>Simple content management for Rails</title>
          <description>&lt;p&gt;&amp;nbsp;I didn't need a full blown CMS to meet the requirements for my current project, I just needed to make some paragraphs and static pages content manageable. The app uses &lt;a target=&quot;_blank&quot; href=&quot;http://github.com/technoweenie/restful-authentication&quot;&gt;restful-authentication&lt;/a&gt;&amp;nbsp;to define user roles so I already had an Admin user type as part of the system, I've also used the &lt;a target=&quot;_blank&quot; href=&quot;http://github.com/kete/tiny_mce&quot;&gt;tiny_mce gem&lt;/a&gt; for the content manageable fields. So how to add manageable content slots to a pretty standard Rails app.&lt;/p&gt;
&lt;p&gt;I started with my model &lt;b&gt;Content :&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;Content&lt;/span&gt; &amp;lt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;ActiveRecord::Base&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;named_scope&lt;/span&gt; &lt;span style=&quot;color: rgb(153, 204, 0); &quot;&gt;:latest_by_key&lt;/span&gt;, lambda { |key| {&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;:conditions =&amp;gt; ['contents.key = ? AND contents.status = ?', key, 'live'],&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;:order =&amp;gt; 'updated_at DESC'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;} }&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then a module called &lt;b&gt;ContentManageable&lt;/b&gt; &lt;b&gt;:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;module&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;ContentManageable&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;get_default_contents&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;@contents&lt;/span&gt;&lt;/b&gt; = get_contents({})&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;get_default_content&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;@content&lt;/span&gt;&lt;/b&gt; = get_content({})&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;# TODO: call send against contents.first to retrieve a particular field?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;get_contents&lt;/span&gt;(options)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;key = options[:key].nil? ? action_key : options[:key]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;all = options[:first] ? false : true&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;contents = Content.latest_by_key(key)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;all ? contents : contents.first&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;end&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;get_content&lt;/span&gt;(options)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;get_contents(options.merge!({:first =&amp;gt; true}))&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;private&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; action_key&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;quot;#{self.controller_name}_#{self.action_name}&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The idea here being that all content has a key and the default key is in the format &lt;i&gt;controller_action&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In my ApplicationController I do this:&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;ApplicationController&lt;/span&gt; &amp;lt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;ActionController::Base&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;include &lt;/span&gt;&lt;span style=&quot;color: rgb(51, 102, 255); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;ContentManageable&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;# Automatically retieve default content using the &amp;quot;controller_action&amp;quot; compound key.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;b&gt;cattr_accessor&lt;/b&gt;&lt;/span&gt; :auto_content&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;@@auto_content&lt;/span&gt; = false&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;before_filter&lt;/span&gt; &lt;span style=&quot;color: rgb(153, 204, 0); &quot;&gt;:get_default_content&lt;/span&gt;, :if =&amp;gt; :auto_content&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;self.auto_content&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;@@auto_content&lt;/span&gt; = true&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and this in contents_helper.rb:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;module&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;ContentsHelper&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;default_content&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cmsify(@content, nil) if defined? @content&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;default_contents&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@contents if defined? @contents&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;content_keys&lt;/span&gt;(key)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;keys = key.split '_'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{ :controller =&amp;gt; keys[0], :action =&amp;gt; keys[1] }&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;cmsify&lt;/span&gt;(content, key)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;text = content.nil? ? '' : content.body&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;if&lt;/span&gt; current_user and current_user.has_role? &amp;quot;admin&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;if&lt;/span&gt; content.nil?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;key = action_key if key.nil?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text = &lt;/span&gt;&lt;span style=&quot;color: rgb(153, 204, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;quot;&amp;amp;nbsp;&amp;amp;nbsp;#{link_to '[add text]', new_admin_content_path({:key =&amp;gt; key})}&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text += &lt;/span&gt;&lt;span style=&quot;color: rgb(153, 204, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;quot;&amp;amp;nbsp;&amp;amp;nbsp;#{link_to '[edit]', edit_admin_content_path(content)}&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;text&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;private&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;def&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;action_key&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(153, 204, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;quot;#{controller_name}_#{action_name}&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So now any controller I want to auto content manage I can simple add &lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;auto_content &lt;/span&gt;&lt;span style=&quot;font-family: Arial; &quot;&gt;at the top of the class and that controller will automatically look for content under the compound &lt;i&gt;controller_action&lt;/i&gt; key, e.g. &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;font-family: Arial; &quot;&gt;home_index. &lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: Arial; &quot;&gt;I&amp;nbsp;place a &lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;lt;%= default_content %&amp;gt;&lt;/span&gt; in my view in the appropriate place to output the content body and as Admin either a link to edit this text or a link to add content to the slot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;(Should mention that admin/contents_controller.rb is a standard admin-role controller which handles standard CRUD for the content model.)&lt;/p&gt;
&lt;p&gt;Then there's a whole bunch of other pages which are what you'd call static site pages, you know, Terms and Conditions, FAQ, About Us, that sorta stuff. For this I created another contents_controller.rb, this one is not an admin protected one, it simply has a&amp;nbsp;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;show&lt;/span&gt; method:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;class&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt; &lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;ContentsController &amp;lt; ApplicationController&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;def&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;show&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: rgb(0, 255, 0); &quot;&gt;&lt;b&gt;@content&lt;/b&gt;&lt;/span&gt; = get_content({:key =&amp;gt; params[:id]})&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: rgb(255, 102, 0); &quot;&gt;&lt;span style=&quot;font-family: 'Courier New'; &quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;which means for an arbitrary key like &lt;i&gt;about_us &lt;/i&gt;I can call the url http://localhost:3000/contents/about_us and my view will render the content body effectively giving me the ability to create any necessary static pages for the site.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are lots of bits that need tidying on but in less than a day I've got a simple way to handle paragraphs and complete pages which is a minor triumph for a relative Rails noob (I used &lt;a target=&quot;_blank&quot; href=&quot;http://github.com/futurechimp/shoulda_machinist_generator&quot;&gt;shoulda_machinist_generator&lt;/a&gt; for the content scaffold so it's accompanied by unit and functional tests). &amp;nbsp;The code duplication of the action_key method is crap so I'll work that out sometime soon.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id=&quot;disqus_thread&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
   var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
   dsq.src = 'http://sobyteme.disqus.com/embed.js';
   (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  })();
&lt;/script&gt;
&lt;noscript&gt;Please enable JavaScript to view the &lt;a href=&quot;http://disqus.com/?ref_noscript=sobyteme&quot;&gt;comments powered by Disqus.&lt;/a&gt;&lt;/noscript&gt;
&lt;a href=&quot;http://disqus.com&quot; class=&quot;dsq-brlink&quot;&gt;blog comments powered by &lt;span class=&quot;logo-disqus&quot;&gt;Disqus&lt;/span&gt;&lt;/a&gt;
</description>
          <pubDate>Tue, 13 Jul 2010 07:56:53 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/07/13/simple-content-management-for-rails/</guid>
          <link>http://your-web-site.com/news/2010/07/13/simple-content-management-for-rails/</link>
        </item>
    
        <item>
          <title>Le Mans Spotters Guide</title>
          <description>&lt;a href=&quot;http://www.spotterguides.com/images/stories/guides/lemans10_s1.jpg&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/sbm_assets/assets/8/lemans10_s1_original.jpg&quot; width=&quot;640&quot; alt='lemans spotters guide 1' /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.spotterguides.com/images/stories/guides/lemans10_s2.jpg&quot;&gt;&lt;img src=&quot;http://s3.amazonaws.com/sbm_assets/assets/9/lemans10_s2_original.jpg&quot; width=&quot;640&quot; alt='lemans spotters guide 2' /&gt;&lt;/a&gt;</description>
          <pubDate>Thu, 27 May 2010 04:14:18 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/05/27/le-mans-spotters-guide/</guid>
          <link>http://your-web-site.com/news/2010/05/27/le-mans-spotters-guide/</link>
        </item>
    
        <item>
          <title>Guerilla BMX</title>
          <description>&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/7Yi8k4ZM5ts&amp;hl=en&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/7Yi8k4ZM5ts&amp;hl=en&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</description>
          <pubDate>Mon, 17 May 2010 08:28:29 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/05/17/guerilla-bmx/</guid>
          <link>http://your-web-site.com/news/2010/05/17/guerilla-bmx/</link>
        </item>
    
        <item>
          <title>Shit that do fall out of my head</title>
          <description>
&lt;div class=&quot;entry&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/bare-git-repo/&quot;&gt;Bare Git Repo&lt;/a&gt;&lt;/h3&gt;
    &lt;div class=&quot;posted&quot;&gt;
      Posted by Steve on August 10, 2010&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;img src=&quot;http://spurrd.com/assets/123/comment.png&quot; /&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/bare-git-repo/#disqus_thread&quot;&gt;Comments&lt;/a&gt;&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/bare-git-repo/&quot;&gt;Read full article&lt;/a&gt;    
    &lt;/div&gt;
  
&lt;/div&gt;

&lt;div class=&quot;entry&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/geokit-auto_geocode-testing/&quot;&gt;Geokit :auto_geocode testing&lt;/a&gt;&lt;/h3&gt;
    &lt;div class=&quot;posted&quot;&gt;
      Posted by Steve on June 29, 2010&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;img src=&quot;http://spurrd.com/assets/123/comment.png&quot; /&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/geokit-auto_geocode-testing/#disqus_thread&quot;&gt;Comments&lt;/a&gt;&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/geokit-auto_geocode-testing/&quot;&gt;Read full article&lt;/a&gt;    
    &lt;/div&gt;
  
&lt;/div&gt;

&lt;div class=&quot;entry&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/geokit-acts_as_mappable-through-with-distance-attribute/&quot;&gt;Geokit, acts_as_mappable :through with distance attribute&lt;/a&gt;&lt;/h3&gt;
    &lt;div class=&quot;posted&quot;&gt;
      Posted by Steve on June 25, 2010&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;img src=&quot;http://spurrd.com/assets/123/comment.png&quot; /&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/geokit-acts_as_mappable-through-with-distance-attribute/#disqus_thread&quot;&gt;Comments&lt;/a&gt;&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/geokit-acts_as_mappable-through-with-distance-attribute/&quot;&gt;Read full article&lt;/a&gt;    
    &lt;/div&gt;
  
&lt;/div&gt;

&lt;div class=&quot;entry&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/javascript-loop-efficiency/&quot;&gt;Javascript loop efficiency&lt;/a&gt;&lt;/h3&gt;
    &lt;div class=&quot;posted&quot;&gt;
      Posted by Steve on May 13, 2010&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;img src=&quot;http://spurrd.com/assets/123/comment.png&quot; /&gt;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/javascript-loop-efficiency/#disqus_thread&quot;&gt;Comments&lt;/a&gt;&amp;nbsp;&lt;em&gt;|&lt;/em&gt;&amp;nbsp;&lt;a href=&quot;/news/2010/05/13/shit-that-do-fall-out-of-my-head/javascript-loop-efficiency/&quot;&gt;Read full article&lt;/a&gt;    
    &lt;/div&gt;
  I thought I was a proficient javascript coder. Singletons, namespaces, closures, class heirarchies, I'd covered them all. Then I sign up for Stephen Chapman's Javascript newsletter at Abount.com and felt the shame. I didn't really understand the cost of a basic 'for' loop.
&lt;/div&gt;


&lt;script type=&quot;text/javascript&quot;&gt;
//&lt;![CDATA[
(function() {
		var links = document.getElementsByTagName('a');
		var query = '?';
		for(var i = 0; i &lt; links.length; i++) {
			if(links[i].href.indexOf('#disqus_thread') &gt;= 0) {
				query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&amp;';
			}
		}
		document.write('&lt;script type=&quot;text/javascript&quot; src=&quot;http://disqus.com/forums/radiant/get_num_replies.js' + query + '&quot;&gt;&lt;/' + 'script&gt;');
	})();
//]]&gt;
&lt;/script&gt;

</description>
          <pubDate>Thu, 13 May 2010 09:56:55 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/05/13/shit-that-do-fall-out-of-my-head/</guid>
          <link>http://your-web-site.com/news/2010/05/13/shit-that-do-fall-out-of-my-head/</link>
        </item>
    
        <item>
          <title>Ruby Debugger Commands</title>
          <description>&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; color: rgb(51, 51, 51); line-height: 16px; &quot;&gt; &lt;/span&gt; &lt;/meta&gt;
&lt;/p&gt;
&lt;h3 style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 16px; color: rgb(50, 207, 0); &quot;&gt;Ruby-debug commands&lt;/h3&gt;
&lt;ul style=&quot;padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;b[reak]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    list breakpoints&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;b[reak] [file|class:]LINE|METHOD [if expr]&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;b[reak] [class.]LINE|METHOD [if expr]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    set breakpoint to some position, optionally if expr == true&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;cat[ch]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show catchpoint&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;cat[ch] EXCEPTION&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    set catchpoint to an exception&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;disp[lay] EXPRESSION add expression into display expression list&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;undisp[lay][ nnn]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    delete one particular or all display expressions if no expression number given&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;del[ete][ nnn]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    delete some or all breakpoints (get the number using &amp;quot;break&amp;quot;)&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;c[ont]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    run until program ends or hit breakpoint&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;r[un]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    alias for cont&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;s[tep][ nnn]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    step (into methods) one line or till line nnn&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;n[ext][ nnn]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    go over one line or till line nnn&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;w[here]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    displays stack&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;f[rame]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    alias for where&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;l[ist][ (-|nn-mm)]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    list program, - list backwards, nn-mm list given lines. No arguments keeps listing&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;up[ nn]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    move to higher frame&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;down[ nn]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    move to lower frame&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;fin[ish]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    return to outer frame&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;q[uit]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    exit from debugger&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;v[ar] g[lobal]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show global variables&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;v[ar] l[ocal]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show local variables&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;v[ar] i[nstance] OBJECT&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show instance variables of object&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;v[ar] c[onst] OBJECT&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show constants of object&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;m[ethod] i[nstance] OBJECT&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show methods of object&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;m[ethod] CLASS|MODULE&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show instance methods of class or module&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;th[read] l[ist]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    list all threads&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;th[read] c[ur[rent]]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    show current thread&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;th[read] [sw[itch]] nnn&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    switch thread context to nnn&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;th[read] stop nnn&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    stop thread nnn&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;th[read] resume nnn&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    resume thread nnn&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;p EXPRESSION&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    evaluate expression and print its value&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;pp EXPRESSSION&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    evaluate expression and print its value&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;h[elp]&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    print this help&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;RETURN KEY&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    redo previous command. Convenient when using list, step, next, up, down,&lt;/span&gt;&lt;/li&gt;
    &lt;li style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 5px; font-size: 12px; font-family: Arial; line-height: 16px; color: rgb(51, 51, 51); &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;EVERYHTING ELSE&lt;br style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot; /&gt;
    evaluate&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; &quot;&gt;&lt;span style=&quot;color: rgb(192, 192, 192); &quot;&gt;Happy debugging!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
          <pubDate>Thu, 06 May 2010 02:20:06 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/05/06/ruby-debugger-commands/</guid>
          <link>http://your-web-site.com/news/2010/05/06/ruby-debugger-commands/</link>
        </item>
    
        <item>
          <title>Don't try this at home kids...</title>
          <description>&lt;h2&gt;Don't try this at home kids...&lt;/h2&gt;
&lt;img src=&quot;http://s3.amazonaws.com/sbm_assets/assets/6/SteveandTatstuff_original.JPG&quot; height=&quot;400&quot; alt='tattooing' /&gt;</description>
          <pubDate>Thu, 01 Apr 2010 04:19:50 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/04/01/dont-try-this-at-home-kids-/</guid>
          <link>http://your-web-site.com/news/2010/04/01/dont-try-this-at-home-kids-/</link>
        </item>
    
        <item>
          <title>Mean Wheels</title>
          <description>&lt;h2&gt;Mean Wheels&lt;/h2&gt;
&lt;img src=&quot;http://s3.amazonaws.com/sbm_assets/assets/5/meanwheels_original.png&quot; valign=&quot;top&quot; alt='Mean Wheels' /&gt;
&lt;div id=&quot;disqus_thread&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
  (function() {
   var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
   dsq.src = 'http://sobyteme.disqus.com/embed.js';
   (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  })();
&lt;/script&gt;
&lt;noscript&gt;Please enable JavaScript to view the &lt;a href=&quot;http://disqus.com/?ref_noscript=sobyteme&quot;&gt;comments powered by Disqus.&lt;/a&gt;&lt;/noscript&gt;
&lt;a href=&quot;http://disqus.com&quot; class=&quot;dsq-brlink&quot;&gt;blog comments powered by &lt;span class=&quot;logo-disqus&quot;&gt;Disqus&lt;/span&gt;&lt;/a&gt;
</description>
          <pubDate>Fri, 26 Mar 2010 03:27:50 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/03/26/mean-wheels/</guid>
          <link>http://your-web-site.com/news/2010/03/26/mean-wheels/</link>
        </item>
    
        <item>
          <title>Active Record for Javascript</title>
          <description>&lt;p&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://activerecordjs.org/record.html&quot;&gt;Active Record for Javascript&lt;/a&gt; gives you persistence for your javascript applications with an Active Record twist.&lt;/p&gt;
&lt;p&gt;From their docs...&lt;/p&gt;
&lt;p&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 'Lucida Grande', Verdana; font-size: 11px; color: rgb(102, 102, 102); &quot;&gt; &lt;/span&gt;&lt;/meta&gt;
&lt;/p&gt;
&lt;h2 style=&quot;color: rgb(51, 51, 51); font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: -5px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;Defining Your Model&lt;/h2&gt;
&lt;p style=&quot;font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;ActiveRecord classes are created using the ActiveRecord.create method which takes three arguments: the name of the table that the class will reference, a field definition hash, and optionally a hash of instance methods that will be added to the class. If the table does not exist it will be automically created.&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;dp-highlighter nogutter&quot; style=&quot;background-color: rgb(0, 0, 0); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-left-radius: 3px 3px; &quot;&gt;&lt;div class=&quot;bar&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;ol start=&quot;1&quot; class=&quot;javascript&quot; style=&quot;margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; list-style-type: none; list-style-position: initial; list-style-image: initial; &quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&lt;span class=&quot;keyword&quot; style=&quot;color: rgb(211, 168, 100); &quot;&gt;var&lt;/span&gt;&lt;span&gt;&amp;nbsp;User&amp;nbsp;=&amp;nbsp;ActiveRecord.create(&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'users'&lt;/span&gt;&lt;span&gt;,{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;username:&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;''&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;password:&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;''&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;post_count:&amp;nbsp;&lt;span class=&quot;constants&quot; style=&quot;color: rgb(223, 101, 71); &quot;&gt;0&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;profile:&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type:&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'TEXT'&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;value:&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;''&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;},{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;func_dec&quot; style=&quot;color: rgb(162, 111, 58); &quot;&gt;&amp;nbsp;getProfileWordCount&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;color: rgb(211, 168, 100); &quot;&gt;function&lt;/span&gt;&lt;span&gt;(){&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;color: rgb(211, 168, 100); &quot;&gt;return&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;_this&quot; style=&quot;color: rgb(114, 135, 168); &quot;&gt;this&lt;/span&gt;&lt;span&gt;.get(&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'profile'&lt;/span&gt;&lt;span&gt;).&lt;/span&gt;&lt;span class=&quot;support_method&quot; style=&quot;color: rgb(250, 240, 146); &quot;&gt;split&lt;/span&gt;&lt;span&gt;(/\s+/)&lt;/span&gt;&lt;span class=&quot;support_property&quot; style=&quot;color: rgb(223, 101, 71); &quot;&gt;.length&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;});&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;h2 style=&quot;color: rgb(51, 51, 51); font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: -5px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;Class &amp;amp; Instance Methods&lt;/h2&gt;
&lt;p style=&quot;font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;JavaScript does not have true static methods or classes, but in this case any method of the User variable above is refered to as a class method, and any method of a particular user (that the User class would find) is refered to as an instance method. The most important class methods are create() and find():&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;dp-highlighter nogutter&quot; style=&quot;background-color: rgb(0, 0, 0); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-left-radius: 3px 3px; &quot;&gt;&lt;div class=&quot;bar&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;ol start=&quot;1&quot; class=&quot;javascript&quot; style=&quot;margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; list-style-type: none; list-style-position: initial; list-style-image: initial; &quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&lt;span class=&quot;keyword&quot; style=&quot;color: rgb(211, 168, 100); &quot;&gt;var&lt;/span&gt;&lt;span&gt;&amp;nbsp;jessica&amp;nbsp;=&amp;nbsp;User.create({&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;username:&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'Jessica'&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;password:&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'rabbit'&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;});&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;p style=&quot;font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;Add new class or instance methods to all ActiveRecord models in the following way:&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;dp-highlighter nogutter&quot; style=&quot;background-color: rgb(0, 0, 0); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-left-radius: 3px 3px; &quot;&gt;&lt;div class=&quot;bar&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;ol start=&quot;1&quot; class=&quot;javascript&quot; style=&quot;margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; list-style-type: none; list-style-position: initial; list-style-image: initial; &quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&lt;span&gt;ActiveRecord.ClassMethods.myClassMethod&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;color: rgb(211, 168, 100); &quot;&gt;function&lt;/span&gt;&lt;span&gt;(){&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;comment&quot; style=&quot;color: rgb(84, 84, 84); &quot;&gt;//this&amp;nbsp;===&amp;nbsp;model&amp;nbsp;class&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;};&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;ActiveRecord.InstanceMethods.myInstanceMethod&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;keyword&quot; style=&quot;color: rgb(211, 168, 100); &quot;&gt;function&lt;/span&gt;&lt;span&gt;(){&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;comment&quot; style=&quot;color: rgb(84, 84, 84); &quot;&gt;//&amp;nbsp;this&amp;nbsp;===&amp;nbsp;model&amp;nbsp;instance&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;};&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;h2 style=&quot;color: rgb(51, 51, 51); font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: -5px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;Getters &amp;amp; Setters&lt;/h2&gt;
&lt;p style=&quot;font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;It is extremely important to note that all of the attributes/columns of the user are accessible directly for reading (for convenience), but cannot be written directly. You&amp;nbsp;&lt;strong&gt;must&lt;/strong&gt;&amp;nbsp;use the set() method to set an attribute, you&amp;nbsp;&lt;strong&gt;should&lt;/strong&gt;&amp;nbsp;use the get() method to access all attributes, but you&amp;nbsp;&lt;strong&gt;must&lt;/strong&gt;&amp;nbsp;use the get() method if your attribute/column is a method of the object or a JavaScript reserved keyword ('save,'initialize','default', etc).&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;dp-highlighter nogutter&quot; style=&quot;background-color: rgb(0, 0, 0); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-left-radius: 3px 3px; &quot;&gt;&lt;div class=&quot;bar&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;ol start=&quot;1&quot; class=&quot;javascript&quot; style=&quot;margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; list-style-type: none; list-style-position: initial; list-style-image: initial; &quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&lt;span&gt;jessica.username&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;color: rgb(84, 84, 84); &quot;&gt;//&amp;nbsp;'Jessica'&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;jessica.get(&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'username'&lt;/span&gt;&lt;span&gt;);&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;color: rgb(84, 84, 84); &quot;&gt;//&amp;nbsp;'Jessica'&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;jessica.username&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'new&amp;nbsp;username'&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;jessica.get(&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'username'&lt;/span&gt;&lt;span&gt;);&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;color: rgb(84, 84, 84); &quot;&gt;//&amp;nbsp;'Jessica'&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;jessica.set(&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'username'&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'new&amp;nbsp;username'&lt;/span&gt;&lt;span&gt;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;jessica.get(&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'username'&lt;/span&gt;&lt;span&gt;);&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;color: rgb(84, 84, 84); &quot;&gt;//&amp;nbsp;'new&amp;nbsp;username'&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;h2 style=&quot;color: rgb(51, 51, 51); font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: -5px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;When Data is Persisted&lt;/h2&gt;
&lt;p style=&quot;font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;Data is only persisted to the database in three cases: when you explicitly call save() on a record, when you call create() on a record, or create a child record through a relationship (the method will contain the word &amp;quot;create&amp;quot; in this case), or when you call updateAttribute() on a record. In the case of the latter, only the attribute you update will be saved, the rest of the record will not be persisted to the database, even if changes have been made. Calling save() may add an &amp;quot;id&amp;quot; property to the record if it does not exist, but if there are no errors, it's state will otherwise be unchanged. You can call refresh() on any record to ensure it is not out of synch with your database at any time.&lt;/p&gt;
&lt;h2 style=&quot;color: rgb(51, 51, 51); font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: -5px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;Finding Records&lt;/h2&gt;
&lt;p style=&quot;font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;If you created the User class using the define() method you automatically have free &amp;quot;finder&amp;quot; methods:&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;dp-highlighter nogutter&quot; style=&quot;background-color: rgb(0, 0, 0); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-left-radius: 3px 3px; &quot;&gt;&lt;div class=&quot;bar&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;ol start=&quot;1&quot; class=&quot;javascript&quot; style=&quot;margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; list-style-type: none; list-style-position: initial; list-style-image: initial; &quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&lt;span&gt;User.findByUsername(&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'Jessica'&lt;/span&gt;&lt;span&gt;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;User.findAllByPassword(&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;''&lt;/span&gt;&lt;span&gt;);&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;color: rgb(84, 84, 84); &quot;&gt;//finds&amp;nbsp;all&amp;nbsp;with&amp;nbsp;blank&amp;nbsp;passwords&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/pre&gt;
&lt;p style=&quot;font-size: 11px; margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 8px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 19px; &quot;&gt;Otherwise you can use the base find() method, which takes a hash of options, a numeric id or a complete SQL string:&lt;/p&gt;
&lt;pre&gt;&lt;div class=&quot;dp-highlighter nogutter&quot; style=&quot;background-color: rgb(0, 0, 0); border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-left-radius: 3px 3px; &quot;&gt;&lt;div class=&quot;bar&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;ol start=&quot;1&quot; class=&quot;javascript&quot; style=&quot;margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 5px; padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; list-style-type: none; list-style-position: initial; list-style-image: initial; &quot;&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&lt;span class=&quot;keyword&quot; style=&quot;color: rgb(211, 168, 100); &quot;&gt;var&lt;/span&gt;&lt;span&gt;&amp;nbsp;posts&amp;nbsp;=&amp;nbsp;Post.&lt;/span&gt;&lt;span class=&quot;support_method&quot; style=&quot;color: rgb(250, 240, 146); &quot;&gt;find&lt;/span&gt;&lt;span&gt;({&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;all:&amp;nbsp;&lt;span class=&quot;constants&quot; style=&quot;color: rgb(223, 101, 71); &quot;&gt;true&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;order:&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;color: rgb(139, 159, 103); &quot;&gt;'id&amp;nbsp;DESC'&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;limit:&amp;nbsp;&lt;span class=&quot;constants&quot; style=&quot;color: rgb(223, 101, 71); &quot;&gt;10&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;alt&quot; style=&quot;line-height: 19px; font-weight: normal; font-family: 'bitstream vera sans mono', monaco, 'lucida console', 'courier new', courier, serif; color: rgb(255, 255, 255); font-size: 12px; overflow-x: hidden; overflow-y: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; &quot;&gt;&lt;span&gt;});&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
          <pubDate>Mon, 22 Mar 2010 07:32:25 GMT</pubDate>
          <guid>http://your-web-site.com/news/2010/03/22/active-record-for-javascript/</guid>
          <link>http://your-web-site.com/news/2010/03/22/active-record-for-javascript/</link>
        </item>
    
    
  </channel>
</rss>

