Using link_to in an .erb file, concatenation syntax
1. In index.html.erb, I want a link that looks like the following for each college:  **Apply - $25**

2. I want the price displayed to change based on the value of college.undergrad_app_fee.


This is what I've tried, but it doesn't work. Perhaps there's a special concatenation syntax to combine the explicit 'Apply -' with the price, or I need to escape <%= %> somehow, or there's a special way to do this with link_to?


       <td><%= link_to 'Apply - ' college.undergrad_app_fee, college.application_url %></td>
Using link_to in an .erb file, concatenation syntax
===

1. In index.html.erb, I want a link that looks like the following for each college:  **Apply - $25**

2. I want the price displayed to change based on the value of college.undergrad_app_fee.


This is what I've tried, but it doesn't work. Perhaps there's a special concatenation syntax to combine the explicit 'Apply -' with the price, or I need to escape <%= %> somehow, or there's a special way to do this with link_to?


       <td><%= link_to 'Apply - ' college.undergrad_app_fee, college.application_url %></td>