`
文章列表
日期选择框: <%= date_select :variable, :attribute, options %> <%= datetime_select :variable, :attribute, options %> 实例: date_select "post", "attribute" date_select "user", "birthday", :start_year => 1910 date_select "user", "cc_date&quo ...
通过获取的id值来设定相应的标志位为1,或者为0 view: <% form_tag  :action => "approve",:method=> "post" do %> <% for student in @students %>   <tr>     <td><%= check_box_tag('students[]',student.id,false) %> </td>   <tr> <% end %> <%= submit_tag ...
接触到这个论坛,真是让我受益菲浅,我现在正在开发ruby on rails相关的项目。以后慢慢向大家学习。
Global site tag (gtag.js) - Google Analytics