I am learning Rails with railstutorial.org, and I am confused about something:
in this chapter the author tells us to do some testing in the console with the respond_to?>
respond_to? is a Boolean evaluation. The respond_to is used (normally) for determining the display information. More information here. The respond_to? checks to see if a method exists and returns true if it does and false if it doesn't.