title: Make custom commands for ruby on rails
body: <p>I want make new command line program for my ruby on rails application, but I can't found how I can make new command.
  I mean, <a href="http://yiiframework.ru/doc/guide/en/topics.console" rel="nofollow">this functional analogue</a> in RoR.</p>
  
  <p>Help me please, and tell me please how I can fix my problem.</p>
  
  <p>Thanks a lot.</p>
  
  <p>P.S. sorry about my English.</p>
  
  <p>ADD1: I want create backend script for parse xmls and save its in database. I think, will be very good if I can use AR classes from my RoR application.</p>