Have you ever wanted to make changes in your Rails app and immediately see the changes in Browser? If so, you can consider using Live Reload Rails feature. Install Live Reload Ubuntu sudo apt-get install python-livereload Install Chrome extension https://chrome.google.com/webstore/detail/livereload Enable http fecth in
A model should only talk to its immediate association. According to the Law of Demeter, you shouldn’t talk to the association’s property or association’s association. Here we talk about Rails delegate approach. BAD SMELL class Profile < ActiveRecord::Base belongs_to :user end <%= @profile.user.address %> <%= @profile.user.