search for: admn_controller

Displaying 1 result from an estimated 1 matches for "admn_controller".

Did you mean: admin_controller
2006 Jun 13
1
How to give conditions in rails
...<td colspan="2"> <center><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:...