D
dartruk
Hi,
A really simple question I suppose but very busy for me:
How to cast my params[:id] (through or not a temp variable) in an
activeRecord?
"class DatatableController < ApplicationController
def DTTable
temp===params[:id]
@records=temp.find_all()
@fieldnames=Tablefield.findall,:conditions =>
"tablename='patient'")
render :action => 'DTTable.rxml', :layout => false
end
end"
Thanks a lot
A really simple question I suppose but very busy for me:
How to cast my params[:id] (through or not a temp variable) in an
activeRecord?
"class DatatableController < ApplicationController
def DTTable
temp===params[:id]
@records=temp.find_all()
@fieldnames=Tablefield.findall,:conditions =>
"tablename='patient'")
render :action => 'DTTable.rxml', :layout => false
end
end"
Thanks a lot