pepe wrote:
> Just a guess but maybe it will work if instead of self. you use
> Vehicle. when defining the method:
> 
> Vehicule.get_vehicule(...)
> 
> Pepe
> 
> On Sep 17, 8:34�am, R�mi Gagnon <[EMAIL PROTECTED]>

I found the problem.

When you do a set_table_name you have to put the name with the right 
case. At least in oracle cause it translates it like :

'select * from "table_a"'

and it should be like this

'select * from "TABLE_A"'

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to