title: How to create a plugin/gem in rails
body: <p>Whats the best guide to start working like creating a plugin/gem. I got <a href="http://railscasts.com/episodes/33-making-a-plugin" rel="noreferrer">this</a> tutorial from railscast but this is very basic.I got some other tutorials but all of them are too basic. Any other tutorial, you can suggest. </p>
  
  <p>and what the things we should kept in mind while creating a gem or plugin?</p>