Blog(42)



I got `SystemStackError: stack level too deep` error when defining a named scope in Model.
Read More..

The purpose of this library is to combine features of `google map` such as map, marker and corresponding info window rendering to a single API call. This simplifies implementing google map into your project while not having to remember all the associated API calls provided by it. Just include the script tag into your project and initialize and object of `ideaMap` class with appropriate parameters while rendering the map. While instantiating the `ideaMap` class, there are certain parameters that you need to pass according to your requirement. Let’s go over them, Here, we’ve passed in an object while initializing the map.
Read More..


You can simply transfer state from parent to child or use Context API to transfer model/context data to underlying components. But the later one is easier to maintain.
Read More..

I encountered a series of errors when I tried to run my existing Rails5 app in my freshly installed macOS Mojave. this generated some errors like, node not found, then I installed node using brew. then, Solution now it installs all the dependencies properly


Read More..

Dockerization Of Rails 6 App 

ShivaShiva Bhusal (Software Engineer) 2 Min. Read Jan 15, 2019
 Docker Containerization Rails Docker Compose Config

Learn to move your existing Rails 5/6 projects to Docker using Docker Compose.
Read More..

Dockerfile Cheat Sheet 

ShivaShiva Bhusal (Software Engineer) 3 Min. Read Jan 14, 2019
 Docker Containerization Cheatsheet Dockerfile

Summary of the post.
Read More..

In Computer Science, Containerization is a concept of running a process in a small container isolated from other processes running in the system with its own operating environment. Docker facilitates developers to build systems in modular fashion that can run in a separate container so that the behaviour does'nt vary by machines and environments.
Read More..

I ran into a weird situation today. Active Record objects stored in vars are removed when I switched from one tenant to another on the fly. This will create a weird test-failing scenario and you never know why its happening. def switch(name) yield(name) end @customers = [1,2,3] switch(‘shiva’) do |name| puts name puts @customers end […]


Read More..

Summary of the post.
Read More..


Calendar


You might also like

I got `SystemStackError: stack level too deep` error when defining a named scope in Model.
Read More..

The purpose of this library is to combine features of `google map` such as map, marker and corresponding info window rendering to a single API call. This simplifies implementing google map into your project while not having to remember all the associated API calls provided by it. Just include the script tag into your project and initialize and object of `ideaMap` class with appropriate parameters while rendering the map. While instantiating the `ideaMap` class, there are certain parameters that you need to pass according to your requirement. Let’s go over them, Here, we’ve passed in an object while initializing the map.
Read More..


You can simply transfer state from parent to child or use Context API to transfer model/context data to underlying components. But the later one is easier to maintain.
Read More..

I encountered a series of errors when I tried to run my existing Rails5 app in my freshly installed macOS Mojave. this generated some errors like, node not found, then I installed node using brew. then, Solution now it installs all the dependencies properly


Read More..

Dockerization Of Rails 6 App 

ShivaShiva Bhusal (Software Engineer) 2 Min. Read Jan 15, 2019
 Docker Containerization Rails Docker Compose Config

Learn to move your existing Rails 5/6 projects to Docker using Docker Compose.
Read More..

Dockerfile Cheat Sheet 

ShivaShiva Bhusal (Software Engineer) 3 Min. Read Jan 14, 2019
 Docker Containerization Cheatsheet Dockerfile

Summary of the post.
Read More..

In Computer Science, Containerization is a concept of running a process in a small container isolated from other processes running in the system with its own operating environment. Docker facilitates developers to build systems in modular fashion that can run in a separate container so that the behaviour does'nt vary by machines and environments.
Read More..

I ran into a weird situation today. Active Record objects stored in vars are removed when I switched from one tenant to another on the fly. This will create a weird test-failing scenario and you never know why its happening. def switch(name) yield(name) end @customers = [1,2,3] switch(‘shiva’) do |name| puts name puts @customers end […]


Read More..

Summary of the post.
Read More..


Write To Me

Hire me shiva bhusal
We'll never share your email with anyone else.
I'll never share your email with anyone else.