Marek N. wrote:
Hello,
I am pretty new to RoR and I am stuck on this problem and not even sure how to troubleshoot it. The issue is that my index.rhtml is not displaying any variables from my controller.
Controller (versions_controller.rb)
class VersionController < ApplicationController def index mydate = "20090521" end
That should be @mydate.
View (index.rhtml)
<table> <td> <%= @mydate %> 1 </td></tr> </table>
[...]
Thanks,
Marek
Best,