Displaying 3 results from an estimated 3 matches for "classification_id".
2008 Oct 03
1
fragment caching with search box
...trying to setup some fragment caching which works fine for the index
but i''m not sure how to ignore the caching if they are searching the
index results.
my code in short:
ItemsController
def index
@items = Item.search(params[:search], params[:min_rank],
params[:max_rank], params[:classification_id], ...)
end
index.html.erb
<% cache (''items'', {:page => params[:page] || 1}) do %>
<% for item in @items %>
...show output
<% end %>
<% end %>
so my question is, what is the best way for me to ignore the caching in
the index view if they enter a se...
2009 Aug 11
2
Bugzilla not working following RHEL to CentOS migration
...found, some links will be displayed allowing you to easily fix them.
Fixing these errors will automatically run this script again (so be
aware that it may take an even longer time than the first run).
OK, now running sanity checks.
Checking references to classifications.id...
... from products.classification_id.
Checking references to keyworddefs.id...
... from keywords.keywordid.
Checking references to fielddefs.id...
... from bugs_activity.fieldid.
... from profiles_activity.fieldid.
Checking references to flagtypes.id...
... from flags.type_id.
... from flagexclusions.type_id.
... from flaginc...
2005 Dec 20
3
Single controller to browse things in categories
...ave things which belong_to categories:
id category_id subject date
1 1 my subject 07/09/2004
and Further classifications which belong_to categories:
id category_id name
1 1 More Foo
2 1 Most Foo
3 2 Some Bar
and subcategories which belong_to categories, classifications, and
things
id category_id classification_id thing_id
1 1 1 some item
2 1 2 another item
I want my index to contain links to those categories:
Foo
Bar
By clicking on Foo, I''d like it to display things belonging to Foo, and
expand to show classifications
Foo
- More Foo (Foo Stuff)
- Most Foo
Bar
It seems like I should...