Displaying 1 result from an estimated 1 matches for "ng_senses".
Did you mean:
eng_senses
2006 Aug 01
1
Re-using a Listing screen form
...lists in
grid form table records)? In particular, when displaying the Listing
page, it would be nice to allow the user to display a subset of the
records, for example, by filtering.
For example, I have the following Controller Listing and Filtering
actions:
def list
@eng_sense_pages, @eng_senses = paginate :eng_senses, :per_page =>
10
end
def filter_by_synset_offset
@eng_senses =
EngSense.find_by_synset_offset(params[:synset_offset])
if @eng_senses
redirect_to :action => ''list''
else
flash[:notice] = "Unable to find English syns...