Posts Tagged ‘Rails’
Posted by Alok Swain on March 19th, 2010

Here is a simple tip to handle Record not found exception.
I found many programmers uses code like if User.find(33) then do something. If the id is not present then Active Record throws Record not found Exception which can be caught and handled using begin-rescue. But the simple way is?
(more…)

Tags: , ,
Posted in Software | No Comments »
Posted by Vamsi Krishna on November 20th, 2009

After a long time I am writing this blog, I have to give a reason like everyone does (I am really really busy with project :(, I am not lying ).But, from now on I am planning to write at least one blog a month.
Anyway there are so many things I want to write about, but I am going to start with scoped_by in Rails.
(more…)

Tags: , , ,
Posted in Software | No Comments »
Posted by Neelkanth Ram on September 12th, 2009

In Rails view, if you want to retain and display newline characters that was entered by the user in text area, then the simple solution to use simple_format .
(more…)

Tags: , ,
Posted in Software | No Comments »
Posted by Neelkanth Ram on May 24th, 2009

I recently started using online Mindmap from MindMeister (see https://www.mindmeister.com).
Oh Boy!..this is really cool stuff that was made out with Web2.0.
I feel this is one of the best way to capture combined thought process and communicate with our remotely located teams.
(more…)

Tags: , , , , , , , ,
Posted in Software | 1 Comment »
Posted by Vamsi Krishna on April 9th, 2009

RJS templates for Rails by OReilly is a cool book , If you want to learn how to give Ajax functionality to your website (using Rails) this is the best book to start with.

I searched for the source code of the examples given in this book but couldn’t find one, So I quickly prepared one and kept in google code as ProjectExpenseTracker. I also added few other features like Ajax based update and delete, index page and so on.
(more…)

Tags: , , , , , , ,
Posted in Software | No Comments »
Posted by Vamsi Krishna on March 30th, 2009

Some people really hate working with Date Formatting because, it drives you crazy while doing so. The same thing happened to me as well, not until I shifted to Ruby on Rails. While I wanted to display custom date, I was searching in google to find some wayout. I didn’t find any direct solution, so I thought I would share my solution here. An excuse to write a blog. ;)
(more…)

Tags: , , , ,
Posted in Software | 3 Comments »
Posted by Vamsi Krishna on March 25th, 2009

A small tip: If you happen to get the error “Ruby on Rails application could not be started” after installing Phusion Passenger with Apache and (more…)

Tags: , , , ,
Posted in Software | 7 Comments »