The Hitchhiker’s Guide to Ruby On Rails Galaxy

Records of my voyage through RoR Galaxy

Archive for May, 2007

Posted by arjunghosh on May 30, 2007

Ruby meets Star Trek by Adam Keys

check it out…if you like start trek…this is cool…

Posted in Uncategorized | Tagged: | Leave a Comment »

Posted by arjunghosh on May 30, 2007

AJAX in Ruby on Rails tutorial

check it out if u needs some help to learn AJAX in RoR

Posted in Uncategorized | Tagged: | Leave a Comment »

Posted by arjunghosh on May 30, 2007

Another cartoon…

is it funny?

Posted in Uncategorized | Tagged: | Leave a Comment »

Posted by arjunghosh on May 30, 2007

Ruby on Rails Screencast – Iteration 2

This a Second Iteration of the prev screen cast by another fav RoR blogger of mine – Amy Hoy…(man am on the way to have too many DHH video :-))

Posted in Uncategorized | Tagged: | Leave a Comment »

Posted by arjunghosh on May 30, 2007

Ruby on Rails Screencast 1 – David Heinemeier Hansson

This screencast is a pair programming session between David Heinemeier Hansson and Miles K. Forrest (fullsize version at http://coderpath.com) If you’re new to Rails perhaps this 35 minute screencast might help point you in the right direction.

Posted in Uncategorized | Tagged: | Leave a Comment »

Posted by arjunghosh on May 30, 2007

RailsConf Keynote: David Heinemeier Hansson

Words of God…

Posted in Uncategorized | Tagged: | Leave a Comment »

Posted by arjunghosh on May 30, 2007

Ruby on Rails demo by RoR God

David Heinemeier Hansson, the creator of the Ruby on Rails web development framework demonstrates how to create a blog engine in 15 minutes…gods work man!!!

Posted in Uncategorized | Tagged: | Leave a Comment »

Posted by arjunghosh on May 30, 2007

RoR Brain Wash…beware

a funny RoR video…enjoy!!!

Posted in Uncategorized | Tagged: | Leave a Comment »

New Hitchhike…and discovered RDOC

Posted by arjunghosh on May 28, 2007

Its been some time but i was doing what i love best – Hitchhiking through the RoR galaxy!!!…and am taking a quick stop right now. And did i discovered? this wonderful tool called RDoc. Well if code and that too well, it all goes down the drain if the next person can not come to know what the hell did you make. Well hence as i said lasts time i stopped – code, code and do more code, well this round – document, document and do create very concise document of your code. You would ask why do i need to…well tomorrow you get bored of your project, you are reassigned, you fall into drain….and some one else come in to continue your work. Well he/she will go bald if there is no doc for the app.

  • Firstly, two websites which are of help for RDoc are:-
  1. RDoc Download. From Here you can download RDoc
  2. RDoc Documentation and Help
  • Kevin has also written a very article on Documentation in Rails. Have a look
  • Make sure First and foremost you have downloaded RDoc and installed it. Download it from the site given above.
  • Now few easy steps to generate Documents for your application using RDoc are:-
  1. Open the command line window(dos shell) – if you don’t know…well click on run then type “cmd” and click ok.
  2. Then change directory and go to the folder where your app resides. For example your app resides at “\depot\”, so go under the “depot” directory using the “c:\ [your application path] cd depot” or something like this. 🙂 you will figure it out.
  3. Then run the command “rake appdoc” and this generate the HTML documentation of your application and place it under the “\doc\app\” folder.
  4. You can access it by going to this folder and opening the index file.
  • Well thats about it. Now go do it. Document all your rails app. Until next time.

Posted in Uncategorized | Tagged: | Leave a Comment »

Some practical steps and links which are helpful while programming in wonderful tech called RoR…or at least it helped me

Posted by arjunghosh on May 11, 2007

[Also this place is not a Tutorial nor does it claim to teach RoR here. So don’t be disappointed by it. It just gives leg up for the RoR programmers who have found this new exciting thing and are having a blast exploring and sharing their experiences of the travel in RoR space with others here…;-)]

  • Firstly, two fabulous Help websites for Ruby and Rails respectively are:-
  1. Ruby Help Docs
  2. Rails API
  • A quick Ruby Reference Cheat Sheet…found both helpful :-
  1. Ruby Quick Ref
  2. Ruby Syntax
  • You will be doing lots and lots of documentation..fear not, RDoc is here…
  1. RDoc
  • One thing for which i burnt midnight oil…but finally did it, is…Multiple File Upload. The Two most helpful sites i found are:-

[NOTE: Multiple File upload can be implemented using various method, all with there different pros and cons. I implemented it using attachment_fu method. Do try the others]

  1. This help to understand file upload using attachment_fu. This site by Mike has wonderful explanation of this implementation.
  2. This helps to implement the above for multiple file upload. This guys explains the multiple upload in a nice manner.
  • Another place for help with Rails is:-
  1. Rails Wiki
  • Two more things which you probably will be using a lot for managing Projects in your company are:-
  1. Putty for Remote Server access
  2. Putty Information
  3. Tortoise SVN for Project Management
  4. Tortoise SVN Information
  • One more good thing i found on my journey through the RoR space is that i met some awesomely helpful people. This is one one the best thing about RoR is that it has lot of community support and guys take help from them. At first you might feel intimidated but that will pass. After that its a breeze. Join any of theses groups and believe me you will get lot of help. My suggestion is to join the General group first.
  • Last but not the least… and recently as my mentor,my boss and (i hope) my friend a.k.a Greg said – “Code not just Read” meaning that for most newbie, the terrifying thing is to start coding…so newbie keep on on and on reading stuff about RoR but forget the actual thing – to code (believe me i have been in that predicament). So my advise (practical one 😉 ) is read some, not much (and this blog can be that starting point) but start coding (and if IDE for ruby is an excuse…try using Scite…atleast i found it good and for Rails try using EasyEclipse) as soon as u can. There is no better method to learn that actual hand on, down and dirty CODING. So happy coding in RoR and travel trough the RoR galaxy and until my next Hitchhike…ciao

Posted in Uncategorized | Tagged: | 4 Comments »