
Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Understanding Single, SingleOrDefault, First and FirstOrDefault
There are element operators provided by LINQ which are capable of returning single or specific element from a collection. These element operators can be defined as follows :-
Single : This element operator is capable of returning ...
Fetching Single objects in Rails Applications
Fetching Single objects in Rails Applications through Active records
While creating a web application in rails we often feel the need to fetch single objects from the database.
Active records provide us with a very good quer...
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 arg...
Applying limit and offset to array
In rails we can apply limit and offset to arrays in different ways.
1> Using "slice" method.
slice takes 2 arguments, the first one being the "starting_index" & the second one is the "number_of_elements".
syntax :-
arrayob...