Welcome To Snipplr


Everyone's Recent Rails Snippets Tagged sql



« Prev 1 Next »
0 789 posted 13 years ago by batamire
0 624 posted 14 years ago by almazom
count(*args) Count operates using three different approaches. Count all: By not passing any parameters to count, it will return a count of all the rows for the model. Count using column: By passing a column name to count, it will return a count of...
1 629 posted 14 years ago by deschism
« Prev 1 Next »