Displaying 2 results from an estimated 2 matches for "setup_tables".
Did you mean:
setup_table
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 |format|...
2008 Mar 28
4
grant tables and HVM+PV
This changeset:
changeset: 15606:17820aa1b2c0
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