Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Optimistic locking in rails

Optimistic locking is used to restrict updation of a record by multiple user at the same time . For example we have two user u1 and u2 and both of them is trying to edit the same record from a model City . While u1 is editing the record u2 comes

Arrays and Objects in Javascript

variables are good and sufficient to hold the single values, But what if we want to store multiple values in a single variable in that case you have to use arrays or objects Values in arrays are saved index base. Remember that arrays in JavaScri

FORMAT(X,D[,locale]) function mysql

FORMAT(X,D[,locale]) In mysql FORMAT function is used for formats a number X to a format like '#,###,###.##' and rounded to decimal places, and it returns the result as a string. If D is 0, the result has no decimal point. The third optional paramet

Program for Bubble Sort elements in Ascending Order

Program for Bubble Sort elements in Ascending Order Definition:- In Bubble sort each element compares with the other elements until finds its correct order place. This is repeated until all elements are in the order. //Header Files #include&l

How to use array_reverse() in PHP

array_reverse() function reset the order of elements in an array in reverse order. The function takes an array as argument and return an array containing all values in reverse order. The function also reset the index of elements. To keep the indexes

Difference between first & take in Ruby Arrays

Both first & take are applied on the ruby objects, they return the requested number of elements from the Array. There are some differences between them, and i have explained the major ones over here. 1) The method take always accepts an argument

How to use Right Join on two tables

Right Join: Right Join is used to join two tables and it return all rows from right table(table 2) and matching rows from table 1(left table). The result is NULL for unmatched rows for table 1(left table). Right Join keyword is used to apply Right J

Program to print pascal's triangle using a 2D array in java

Pascal's Triangle:   Program to print Pascal's triangle: import java.io.*; public class Pascal{ public static void main(String []args)throws IOException{ InputStreamReader isr=new InputStreamReader(System.in);

An Image Caption Over Image On Hover using CSS3

Hello reader's, In this blog I have created an image caption over the image using CSS3 transition properties over the image when hover. As CSS3 we all know helps in creating an effective animated website using various transition properties ,so b

How to make two divs equal in height lying side by side using html and css?

Hello Readers , this is a small blog on how to make two columns of equal height regardless of content inside the columns. First, we will write the HTML to make two columns lying side by side having same width. The following code is written to make tw

1 57 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: