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

Creating a random string for multi purposes in Rails

As we know that in almost all web applications we have to ammend functionalities in which we need to create a random string. This string can contain some alpha numeric characters, numbers, lower case alphabets, upper case alphabets and etc. ...

Count the occurence of an interger in a string

Description: Given a string of integers, count how many times that integer repeats itself, then return a string showing the count and the integer. Example: countMe('1123') (count_me in Ruby) Here 1 comes twice so <count>...

Converting string to symbol & symbol to string in rails

Ruby supports both Strings & Symbols. String being mutable & Symbols being immutable cater to different needs. We can convert String to Symbol & Symbol to String at any time. To convert a string to a symbol, we can use inter...
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: