Articles

Why it is Important To Update Your Ruby on Rails Application?

Technology evolves quickly, and each time you start looking into it, you discover something new in the bundle. But, we have witnessed most people who have their website based on the Ruby on Rails, just don’t heed to upgrade their website to the latest one. At times, the website starts creating issues, and it leaves ...

How to Learn Ruby on Rails

You’ve just taken your first steps in programming and you’re already facing a common problem: you just don’t know where to begin and what to learn first. However, you know what technology you want to work with: Ruby on Rails. Congratulations! You’ve decided to join a vibrant community of likeminded people. Our Ruby...

How I Learn Ruby - Useful For New Learners

Here’s my story, and how I got started with Ruby. I first stumbled upon Ruby in 2007. All I wanted back then, was a language that I can build something cool with. I was going from knowing nothing to knowing something, so the information had to be as jargon-free as possible. I still remember seeing the How to build...

Rails 6 Roundup: Everything We’ve Read about Rails’ Newest Version

The beta version of Rails 6.0 was released on January 15th, 2019, with the stable version of Rails 6 coming soon on April 30 (just in time for RailsConf!) We’re excited for Rails 6.0 as it comes with some notable new features. Many developers have started to test this beta version of Rails, so we’ve rounded up all o...

Token-based Authentication with Ruby on Rails 5 API

Introduction With API-only applications so popular and Rails 5 right around the corner, the most common methods of authentication are now becoming token-based. In this guide, I'll give a short overview of token-based authentication and how it is implemented into a Rails 5 API-only application. What Is Token-based A...

Building the Perfect Rails API

This how-to guide aims to give you the best start to building your Rails API. Thanks to the new rails-api gem that has shipped as part of the Rails core since version 5, Rails is an ideal candidate for building streamlined APIs quickly and easily. Before the advent of Rails 5, the best option for building APIs in R...

Add chat to your Ruby on Rails app

Not all web apps need chat, but if you want to communicate with your customers, or you want them to communicate with each other, you’re going to run into this problem quickly. CometChat Pro is a fantastic alternative to rolling your own chat service. You’ll see that you can easily insert chat into your application, ...

Ruby With Practical Approach: Chapter-15: Ruby Lambdas

In this lesson, let's explore ruby lamdas in detail. #Before Discussing lambdas, first w'll see pitfalls in procs proc = Proc.new {|a,b| a*b} #p proc.call(2) # it sends ungiven arguments as nil p proc.call(2,3) #it process the request p proc.call(2,3,4) #it process request, and ignore extra argu...

Ruby With Practical Approach: Chapter-14: Ruby Procs

In this lesson, let's explore ruby procs in detail. A proc is an object that contains a code block. It provides a way to save up a code block and execute it later. # Technically, blocks are not objects in ruby, but procs made blocks as objects proc = Proc.new { puts 'Hello World' } proc.call #lets define met...

Ruby With Practical Approach: Chapter-13: Ruby Blocks

In this lesson, let's explore ruby blocks in detail. A block is a piece of code that accepts arguments, and returns a value. A block is always passed to a method call. # Blocks # A Block is a collection of code to be executed # A Block must be wrapped in between do.. end keyword or open..close curly braces({ ...

Links
Stay Updated

Join With Other 2000+ Devs To Stay Updated On Your Favourite Technology

Subscribe (Weekly Only)