[ruby-on-rails] Rails: How does the respond_to block work?