Blogs
Implementing Agile – Part I
Posted May 23rd, 2008 by rajendra
So you came to know about this Agile thing, you have collected enough information from the sources available and now you want to implement it in your organization also. First of all I want to welcome you to the world of software development methodologies, which is known as Agile. You must know here that implementing Agile is not an immediate process. It is not like passing a circular that now we are going to adopt Agile methodologies in the future projects and the next day you proudly announce that now we are an Agile company. It is a process which takes time, sometimes 1-2 years to implement.
Updating additional data fields in has and belongs to many relationship
Posted May 12th, 2008 by rajesh
Updating additional data fields in has and belongs to many relationship
It's always been problem to update additional fields in HABTM tables.
Unfortunately rails have no direct support to update fields. I have written patch to update those fields in HABTM additional fields.
The code snippet and example are given below:
We have following models with HABTM relationship
Open Flash Chart
Posted May 1st, 2008 by anand
About:-
Using open flash chart you can represent your data in the form of different type of graphs.
Install Files:-
For languages other than Ruby:-
Open the .zip file and copy the open-flash-chart.swf to the root folder of your web server and copy the folder ofc-library to the root directory. Set the permissions of this folder and the .php files inside it so they will run correctly.
Using GRUFF with Ruby on Rails
Posted May 1st, 2008 by manmeet
Gruff is a RoR plugin to generate On-The-Fly graphs within the Web Application. Developed by Geoffrey Grosenbach you can find the Plugin Home Page at http://nubyonrails.com/pages/gruff
The API documentation can be found at http://gruff.rubyforge.org/
Example Graphs
Being Agile and how is it different from classic project management techniques?
Posted April 30th, 2008 by rajendra
The software industry always has some buzzwords spreading across the world from time to time. At times, it was Object Oriented Programming, Software Development Life Cycle approaches like Waterfall model and Prototyping, Graphical User Interfaces, ISO certifications, CMM Level and now it is Agile Development Practices. Every one of us keep running to catch up with other and be the first to get ISO certified or CMM level certified. Now it is turn to be Agile, and say proudly that “We are Agile”.
Caching in ROR
Posted February 12th, 2008 by priya
Ruby on Rails: Validation in Models
Posted January 4th, 2008 by ruchi
It is natural that when you are going to accept a new thing, you have a different kind of feeling. The same thing applied to me when I was first introduced to Ruby on Rails to accept as a new web language and framework that was based on MVC. It’s a big challenge to learn a whole new language and a new well-structured framework.
It’s been for some time now that I am using RoR and I must point out here that it is a very good learning experience.
Testing with Ruby on Rails
Posted January 4th, 2008 by manish
- From the moment we create a new application using the Rails command simply creates the test directory structure.
- Every time we run the generate script to create a model or a controller, Rails creates a test file to hold a corresponding test stub.
- A Rails test suite is split into three fundamental parts
a. Unit Tests – Unit tests cover model-level functionality, which generally encompasses an application’s sore business logic.
Avoid NoMemoryError during model reindex with ferret in ruby on rails
Posted December 27th, 2007 by rajesh
Avoid NoMemoryError during model reindex with ferret in ruby on rails
When Ferret is used and we want to rebuild index via console, sometime we get following error:
NoMemoryError (failed to allocate memory)
This problem mostly comes on shared server where we have limited memory space.
To get ride of this issue we have to make following test to ensure batch size of rebuilding index
Ajax on Rails
Posted December 16th, 2007 by nikhil
The hardest way to use Ajax in any web application is to write own custom JavaScript that directly uses the XMLHttpRequest object's API. By doing this, you have to deal with the intricacies of each browser.