Archive | September 2013

You are browsing the site archives by date.

How scrum team Rolls

In Many Places People ask me what are the work and Processes Followed in your company. and while describing them about Agile Methodologies we follow, they Always come with a series of Questions? What is Scrum? What is Sprint?… and all So here are is a short description on it How Scrum Team Works. In […]

Count the Users total commits from git

Here is the command to list all the users with their git commits $ git shortlog -s -n and output will be in following fromat commit_count Ā  user_name

encoding::UndefinedConversionError: U+00C2 from UTF-8 to US-ASCII in Unbuntu Linux

This is an error due to the some locale language package inavailable in your linux system You can check the list of locale in your system by following command sudo locale -a Then You can re-generate the locale for your system using commande sudo locale-genand this will solve your Encoding issue šŸ™‚

Get Sum of field from associated table in Rails/Mysql

Sometime you have relationship like Ā campaign has_many causes and need to calculate sum of raise_amount raised from each campaign from the associated table In mysql this can be done by a simple query select campaigns.name,SUM(raises.raise_amount) as total_sum FROM campaigns LEFT OUTER JOIN raises ON campaigns.id=raises.campaign_id GROUP BY campaigns.id; In Rails it can beĀ achieved by this […]