Newbie to Ruby, working on examples Agile Development with Rails2.
- Addition: <%= 1+2 %>
- Concatenation: <%= "cow" + "boy" %> 1.hour.from_now
- Time in one hour: <%= 1.hour.from_now %>
this code simplly prints like this
Time in one hour:
dynamic code is not displayed. I don’t understand what was the problem.
I restarted the server for serverl times, but no use.