document.write('<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>')





document.write('<div id=\"gist-20941\" class=\"gist\">\n  \n  \n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\">order = \'name\'\n<\/div><div class=\"line\" id=\"LC2\">order = ActiveRecord::Base.send(:reverse_sql_order, order) # =&gt; &quot;name DESC&quot;\n<\/div><div class=\"line\" id=\"LC3\">order = ActiveRecord::Base.send(:reverse_sql_order, order) # =&gt; &quot;name ASC&quot;\n<\/div><div class=\"line\" id=\"LC4\">order = ActiveRecord::Base.send(:reverse_sql_order, order) # =&gt; &quot;name DESC&quot;\n<\/div><div class=\"line\" id=\"LC5\">&nbsp;<\/div><\/pre><\/div>\n        \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/20941/e7cca5dc13d59a0fe9c726797496fbbdb413d7be/gistfile1.rbx\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/20941#file_gistfile1.rbx\" style=\"float:right;margin-right:10px;color:#666\">gistfile1.rbx<\/a>\n          <a href=\"http://gist.github.com/20941\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n  \n<\/div>\n')
