Displaying 2 results from an estimated 2 matches for "setup_t".
Did you mean:
setupt
2008 Jul 29
0
handling multiple lookup tables in rails
...thanks
in routes I''ve got
# lookups/CollectionType/lookups
#lookups/Gender/lookups
map.resources :lookups, :path_prefix => ''lookups/:mdl''
ex Lookup Controller
class LookupsController < ApplicationController
# GET /lookup
# GET /lookup.xml
before_filter :setup_tables
def index
@lookups = @theModel.find(:all)
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @lookups }
end
end
# GET /lookup/1
# GET /lookup/1.xml
def show
@lookup = @theModel.find(params[:id])
respond_to do |forma...
2008 Mar 28
4
grant tables and HVM+PV
...0aa1b2c0
user: Keir Fraser <keir.fraser@citrix.com>
date: Fri Dec 14 11:58:37 2007 +0000
summary: hvm: Remove duplicate assignment of __HYPERVISOR_grant_table_op in
Has broken our HVM PV drivers. Previously we were using:
520 if ((HYPERVISOR_grant_table_op(GNTTABOP_setup_table, pset, 1) != 0) ||
521 (pset->status != 0)) {
even on HVM. Now, this isn''t actually necessary (stuff works fine with
the call nop''d out, presumably due to the auto-sizing), but I wonder why the
only grant op allowed is _query_size? IE what''s the statu...