以下文字字符串:
file
这假设到6月11日是第11天的菜单和5月31日的菜单,这是预期的。
但是,删除第一个语句并仅保留:
<%= date_select :performance, :inizio_esercizio, { :order => [:day, :month, :year], :default => Date.today.beginning_of_year}, {:class => "small-4 columns"} %>
<%= date_select :performance, :fine_esercizio, { :order => [:day, :month, :year], :default => (Date.today - 1.months).at_end_of_month}, {:class => "small-4 columns"} %>
这将返回6月11日的菜单。
答案 0 :(得分:0)
这似乎是一个浏览器缓存错误,它通过重新启动服务器并打开一个新选项卡得到解决。 OSX 10.6.8上的Firefox 38