title: an AJAX link for the dev and prod environments
body: <p>I have this line below that shows a link to go the next page of a list.</p>
  
  <pre><code>&lt;a href="#" onclick="new Ajax.Updater('lista_miembros',
  '/frontend_dev.php/miembros/filtrar?page=2')"&gt;Next page&lt;/a&gt;
  </code></pre>
  
  <p>The problem: as expected, it only works in the development environment of
  the frontend (frontend_dev.php).</p>
  
  <p>My question: what should I to get it work on both environments
  (production and development)? Using if's and getting the environment
  being used is the only way, or is there any cooler way?</p>