<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space" 
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks, Rob.&nbsp; The 'preferred' part still 
throws me since it's apparently still true that <A 
href="mailto:'@params[]'">'@params[]'</A> and 'params[]' will both work to 
access the params hash.&nbsp; Yes?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, when you say 'params' is a method 
call...&nbsp; I would have thought that it could also be a local variable whose 
interpretation at runtime would be context sensitive.&nbsp; No?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Confusing ;-(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks again,</FONT></DIV>
<DIV><FONT face=Arial size=2>Bill</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=Rob@AgileConsultingLLC.com 
  href="mailto:Rob@AgileConsultingLLC.com">Rob Biedenharn</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rails@lists.rubyonrails.org 
  href="mailto:rails@lists.rubyonrails.org">rails@lists.rubyonrails.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> 2006-03-31 10:53 AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Rails] params[] vs 
  @params[]</DIV>
  <DIV><BR></DIV>params[] is preferred now because 'params' is a method call and 
  <A href="mailto:'@params'">'@params'</A> is an instance variable.&nbsp; I had 
  this question myself and when AWDR had both styles, I asked a Rails core team 
  member when I saw him.
  <DIV><BR class=khtml-block-placeholder></DIV>
  <DIV>-Rob</DIV>
  <DIV><BR class=khtml-block-placeholder></DIV>
  <DIV><BR>
  <DIV><SPAN class=Apple-style-span 
  style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; khtml-text-decorations-in-effect: none; apple-text-size-adjust: auto; orphans: 2; widows: 2"><SPAN 
  class=Apple-style-span 
  style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; khtml-text-decorations-in-effect: none; apple-text-size-adjust: auto; orphans: 2; widows: 2">
  <DIV>Rob Biedenharn<SPAN class=Apple-tab-span style="WHITE-SPACE: pre"><SPAN 
  class=Apple-style-span style="WHITE-SPACE: pre"> </SPAN></SPAN><A 
  href="http://agileconsultingllc.com">http://agileconsultingllc.com</A></DIV>
  <DIV><A 
  href="mailto:Rob@AgileConsultingLLC.com">Rob@AgileConsultingLLC.com</A></DIV>
  <DIV>+1 513-295-4739</DIV><BR 
  class=Apple-interchange-newline></SPAN></SPAN></DIV><BR>
  <DIV>
  <DIV>On Mar 31, 2006, at 10:51 AM, Bill Walton wrote:</DIV><BR 
  class=Apple-interchange-newline>
  <BLOCKQUOTE type="cite">
    <DIV><FONT face=Arial size=2>Is there a difference in the way that params[] 
    and @params[] are handled?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Is the 'handling' done by Ruby or 
    Rails?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>A pointer to the relevant documentation would 
    be sincerely appreciated.&nbsp; Or just an answer would be ok too 
    ;-)</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
    <DIV><FONT face=Arial size=2>Bill</FONT></DIV>
    <DIV 
    style="MARGIN: 0px">_______________________________________________</DIV>
    <DIV style="MARGIN: 0px">Rails mailing list</DIV>
    <DIV style="MARGIN: 0px"><A 
    href="mailto:Rails@lists.rubyonrails.org">Rails@lists.rubyonrails.org</A></DIV>
    <DIV style="MARGIN: 0px"><A 
    href="http://lists.rubyonrails.org/mailman/listinfo/rails">http://lists.rubyonrails.org/mailman/listinfo/rails</A></DIV></BLOCKQUOTE></DIV><BR></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Rails mailing 
  list<BR>Rails@lists.rubyonrails.org<BR>http://lists.rubyonrails.org/mailman/listinfo/rails<BR></BLOCKQUOTE></BODY></HTML>