Displaying 1 result from an estimated 1 matches for "tipo_trasportis".
Did you mean:
tipo_trasporti
2005 Mar 08
4
change the model''s table name
...rtiController < ApplicationController
model :tipo_trasporti
def index
myvar = TipoTrasporti.find_all
render_text "ok"
end
end
that gives this error:
ActiveRecord::StatementInvalid in Tipo_trasporti#index
ERROR: relation "tipo_trasportis" does not exist : SELECT * FROM tipo_trasportis
script/server:51
someone can help me?
Thanks
Enrico
--
"The only thing necessary for the triumph of evil
is for good men to do nothing"
Edmund Burke