On Sep 16, 2010, at 2:39 AM, Aruna Chinnamuthu wrote:
> In ROR , i m having a line like
>=20
>     <%=3D link_to("NAME (#{@name})", user_path(@user, :in =3D> :s)) %>
>=20
> i want to change the string NAME to t(:str_name) ..
>=20
> how to change it . when i change it , i am getting errors..

Without the actual error message I'm guessing but you probably want =
something like:

<%=3D link_to("#{t(:str_name)} (#{@name})", user_path(@user, :in =3D> =
:s)) %>

And if that fixes your problem then, ruby-talk was an appropriate place =
for the
question since it is just a language issue and not a Rails issue.

Gary Wright=