Organize your Javascript code in Rails with Object literal pattern
Sometimes it becomes very hard when you are working on a web application framework like Rails and your front end contains lot of Javascript functions. There are lot of functions common between different view files or helpers used inside functions itself. So in this tutorial, I am going to show you, how can we utilize […]