Hi, I'm a rails newbie.
I'm trying to create a link on a show page, with part of the data coming from a stored field which is the subdomain. I can't save the full link before the save in the model because I'm using just the sub-domain info for a script that's running.
So, for example, I'm saving "subdomain" in the database but on a show page want to display, and link to:
http://<%=h @user.subdomain %>.thissite.com
I've tried a few ways to do this and can't get it working. I'd really appreciate any assistance....