Where does one find Rails deprecation warnings? -


How do I know that I am seeing all the exclusionary warnings?

Is it all boot time? So firing the console and seeing the output should be enough?

(If yes, then I have no one.)

Thanks, John

Will they all print at boot time? So firing the console and seeing the output should be enough?

No; For example, if you try to use the find_all then run the find (all) , the Ruby does not know, you will not be able to see some type of exclusion alert until the runtime. That you're not using find_all actually hit that line

Ruby is a dynamic language, so it will be very difficult to prove that all the deprecated codes have actually gone; Binding can be postponed to "bad" code and there is no way to guarantee that it has been said in the first place. Your best bet is a static-analysis tool that reads your code in summary and makes a mistake in favor of false positives.


Comments