RubyFlow The Ruby and Rails community linklog

respond_to |format| is useful even without multiple formats

You might think that if a controller action is only capable of rendering HTML, there is not much reason to use respond_to. After all, this is what Rails scaffold probably taught you.

But it is useful even when only rendering HTML. Check it out

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in