Displaying 1 result from an estimated 1 matches for "holiday_pages".
2006 Jun 13
1
How to give conditions in rails
...lt;b>
<%= link_to ''Add holidays'', :action => ''holiday_edit'' %>
</center></b>
</td>
</tr>
<%
end
%>
</table>
<%= end_form_tag %>
in admn_controller.rb file inclues
def holiday_list
@holiday_pages, @holidays = paginate :holidays
end
it displays all the records.
can anybody mail how to display only particular year records.
if u have any idea about this kindly mail me nithya2k4@hotmail.com
thanks
regards
Nithya
--
Posted via http://www.ruby-forum.com/.