title: Good practice -- Redirection in models? -- Rails 3.1
body: <p>I have a <code>Search</code> model and controller. The business logic is that if the user's keyword exact matches a product's model number, redirect them to the product page.</p>
  
  <p>In this situation, should I just do the redirection from inside the model (where most of the logic resides already)?</p>
  
  <p>Or should I return a flag or something to the controller so I can handle the redirect?</p>