# Automatic data filtering

**URL:** <https://www.ruby-forum.com/t/automatic-data-filtering/119810>\
**Category:** Rails\
**Created:** [November 10, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/automatic-data-filtering/119810 "2007-11-10T20:05:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://www.ruby-forum.com/u/nelson)\
**Post date:** [November 10, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/automatic-data-filtering/119810/1 "2007-11-10T20:05:21Z")

</div>

hi all. I’m doing an app that have to le the user to show only the  
data that belongs to a single year (the user can select this sort of  
filtering interactively through a combo box ). I have to make this  
filtering selection “persistent” betwenne my pages. Do i have to save  
tha value of the year in my session? I think the qnaswer is “yes”…  
how can i filter the data automatically, if it is possibile?

thanks,  
nelson

---

<div class="post-metadata">

**Author:** ![nelson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@nelson](https://www.ruby-forum.com/u/nelson)\
**Post date:** [November 10, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/automatic-data-filtering/119810/2 "2007-11-10T21:12:45Z")

</div>

Storing it in the session would be the easiest way.

-Bill
