Bash script for creating new rails project and initial SVN import (with ignoring/removing log/other files)
Many times we need to create a new rails project and import it to SVN repository. Each time we have to repeat same commands for creating new rails project, Initial import to SVN, Ignoring *.log files, move database.yml to database.example, ignoring tmp/sessions etc.. etc..
So I have written a bash script that do all this stuff, all you need to do is copy this file to any of your directory and execute this script by issuing ./create_rails_with_subversion & follow screen instructions.
This will:
- create a new rails project
- initial import to SVN
- remove and ignore all log files from svn
- remove and ignore sessions, cache sockets files from tmp dir
- move database.yml to database.example
- ignore database.yml
Download script from here.
I also love to have your feedbacks…
Most awaited moment…
Tomorrow will be the our first working day in our new office at Gurgaon. We were planing to move since last year, but due to some reason we couldn’t. Now we are finally moving to our new office ;-) . Now we have enough space to hire people. If you are looking for a job/change or want to work on cutting edge web technology (Spec. Ruby on Rails), send me your resume at akhil at vinsol.com so that i can forward it for further considerations. If you don’t know ruby/rails no probs at all, Freshers OK.
Cheers…
Ajax based drag drop and sortable tree for Rails
My friend sur wrote and shares his code for Ajax based drag drop sortable tree for rails. He is also trying to pluginize this, and soon it will be publicly available. Find more detail here.
Uploading files using AJAX
There is no way to upload files using AJAX. How Gmail does it then? Well, the answer is using <iframe>. Here is a post that describe this technique in detail. Infact we are using this technique from months, obviously inspired by Gmail. ;-)
Animator.js: A javascript library by Bernie Sumption
While surfing on net I came across a javascript library(animator.js) based on prototype library written by Bernie Sumption.
I found this library a bit interesting. One that appeals me is the ability to define start state and end state through CSS
See in action here.


Working with Vinsol has been one of the most rewarding and productive collaborations I've ever had in the technology industry. Manik is an intelligent and honest engineer with a great faculty for open and clear communication, and his team include some of the swiftest and keenest developers I've ever had the pleasure to work with. They're great value for money, excellent people who are a joy to know and interact with, and above all they really know their stuff