Gianluca Tessarolo wrote:
> Hi Mary,
> 
> I'm Italian but I write the response in eglish (sorry for my poor
> english)...
> 
> Some time ago I had a problem like your under FireBird 1.5.x and
> FireRuby 0.4.1 just after a db restore.
> 
> The issue was with casting function on the rails firebird adapter the
> error was something like "cannot cast CAST(DECIMAL(0,0)"...
> 
> I remember that I was able to solve the problem on firebird_adapter.rb
> executing something like sql_query.gsub!("DECIMAL(0,0)",
> "DECIMAL(0,18)") before the returning row.
> 
> Hope it helps...

Il mio problema è che non viene generato nessun errore.
Semplicemente il valore è aumentato di un fattore 100.
Il problema sembra dei metodi di classe tranne find.
Ciao
-- 
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