Image for post
Image for post

For better coding

Debugging

  • PGHero: A performance dashboard for Postgres
  • Skylight: To understand and act on your app’s performance data
  • Bullet
  • RubyCritic

Testing

Uploading Files

  • Active Storage: Facilitates uploading files to a cloud storage service.
  • CarrierWave: Provides a simple and extremely flexible way to upload files from Ruby applications
  • Minimagick

Search

  • Elasticsearch-model , elasticsearch-rails

Encryption

Pagination

  • Will_paginate
  • Kaminari: A Scope & Engine based, clean, powerful, customizable and sophisticated paginator.

Image for post
Image for post

What is the difference between a class and a module?

  • Basically, a class can be instantiated but a module cannot. A module will never be anything other than a library of methods. A class can be so much more — it can hold its state (by keeping track of instance variables) and be duplicated as many times as you want. It’s all about objects.
  • If you need to instantiate something or otherwise have it exist over time, that’s when you need to use a class instead of a module. …


var a = 5;
var b = a; // 5
b = 6;
console.log(a); // 5
console.log(b); // 6

Shallow copy

var user = { name: 'Kishan', gender: 'M' };
var user2= user;
user2.name = 'Kishan Patel';
// Since 'user2' is reference of 'user'
console.log(user); // { name: 'Kishan Patel', gender: 'M' };
console.log(user2); // { name: 'Kishan Patel', gender: 'M' };
--Same applies to array
var a = [1]
var b = a…

Image for post
Image for post

What is VueJS?

  • Vue.js is an open-source Javascript framework for building user interfaces.

How to create a Vue project


Image for post
Image for post
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
$ cd ~/.ssh
$ ls
$ mv id_rsa* /Document
$ rm id_rsa id_rsa.pub
Example
$
cd…

Image for post
Image for post

To do so, you have to follow below steps

  1. Link Dialogflow to your server. …

Image for post
Image for post

Highlights:

  • Rails
  • Ruby
  • PostgreSQL database
  • RVM
  • Scaffolding
  • Model
  • Migration
  • Route
  • Controller
$ gem install railsIt will install the latest rails on your machine$ rvm install ruby-2.7.0
It will install Ruby 2.7.0 in rvm.
You can see the rvm list by
$ rvm list
To see the available gemset inside the ruby type
$
rvm gemset list
$ gpg - keyserver hkp://pool.sks-keyservers.net - recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB$ source ~/.rvm/scripts/rvm
$ rails new Blog…

Image for post
Image for post
  • It helps you to focus on innovation, not operations.
  • A developer can easily deploy their Rails app without knowledge of dev ops.
  • Easy setup: as a PaaS, you don’t need to know how to install and configure Apache, nginx, unicorn, passenger, MySQL, Postgres, etc.
  • Simple Horizontal & Vertical Scalability.
  • It offers a powerful dashboard and CLI.
  • You can create 5 application without any cost.

Requisition:

Integration:


  • No need to remember rules to write good codes and focus on the logic.
  • It will improve the readability of your code.
  • You will be able to find the syntax error before execution.
  • You will spend less time testing new features.
  • Your code will be more consistent.

Steps to install and configure ESLint

  • Open VS Code
  • Click on Extension Marketplace tab and search for…

About

Kishan Patel

A full stack developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store