Show flash messages on cached pages
ruby 代码
- ruby script/plugin install svn://rubyforge.org/var/svn/pivotalrb/cacheable_flash/trunk
时间日历插件
http://dry.4thebusiness.com/info/dhtml_calendar
ruby 代码
- ruby script/plugin install http://dhtml-calendar.googlecode.com/svn/trunk
ruby 代码
- <%= dhtml_calendar_includes %>
- <%= calendar_select 'person', 'birthday',
- { :class => 'date',
- :date => '2007-8-1 12:23:34'.to_d,
- :field_title => 'Birthday',
- :button_title => 'Show calendar' },
- { :firstDay => 1,
- :range => [1920, 2020],
- :step => 1,
- :showOthers => true,
- :cache => true }
- %>