.rb files not recompiling when rebooting instance



I was asked to make some changes in a ruby on rails website, so I started learning it. I was doing fine with .html.erb files: first I edit, after I upload the edited file and then reboot the instance. The site was edtted. But now, I need to change some .rb files, I tried the same steps, but rebooting the istance is not making effect in the website anymore. Am I missing something to recompile these .rb files?