Concerns to the Rescue.

Concerns are helpers that are used  to slim down the codes in models and the controllers. Primary logic to implement are fatty models and skinny controllers. According to the rubocop guidelines, the possible LOC allowed in a file is 100 to 120 in a file. we can create model concerns, controller concerns. in order to…

The Power Of Ajax in Rails

Ajax stands for Asynchronous JavaScript and XML.  Before we start with Ajax in detail, let me explain how web page load to our system in normal way. when we type localhost:3000/ If the  default root path is set then it will check in routes file; it fetches all the files will be needed for showing…