Tutorials

Introducing: BabySqueel. Elegant queries for Rails.
Historically, Squeel has had trouble keeping up with the latest versions of Active Record. Currently, it is incompatible with Rails 5 and efforts to upgrade it have been frustrating.
Squeel was originally intended to become part of the official A...



Send SMS messages like emails in Rails with Textris
We’re going to take an example Rails application and replace the existing message sending code with Textris to see how it can tidy up our application. For this blog post, we’ll use a tutorial on sending instant lead alerts as our base. The applica...

How To Make Rails Json Output Decimal Numbers Instead Of Strings
Working on an application I noticed that when getting JSON data from Rails the decimal numbers come as strings. Turns out this is to ensure it is still accurately rounded.If you don’t care about the rounding of large numbers then you can force Rai...





What is time complexity? How it effects the speed of the programs?
The time complexity of the algorithm specifies that the total tie taken to run the complete program or the algorithm. The Time Complexity is generally expressed in Big-O notations.
Time Complexity is most commonly estimated by counting the number...