Displaying 4 results from an estimated 4 matches for "faissolle".
2005 Apr 26
10
Cannot force WeBRICK into submission (UTF-8)
Hello everyone!
Pushing my new rails project I stumbled upon some weird problem.
I cannot force WeBRICK to show me my MySQL records in UTF-8. All I
recieve into the object (instead of russian letters) are question marks
(a la ?????? style). I am running MySQL 4.1 (the one with switchable
charsets) and a binary Ruby extension for it, all on OSX.
To me it looks like MySQL never recieves what I
2005 Apr 27
5
Eager load mysteriously deletes records
Hi
This looks like a bug in ActiveRecord.
I am messing with eager loading (on 12.1) and all of a sudden records
started disappearing from a table (and I am not doing anything delete
related)!!
The following line works OK:-
@todos = Todo.find(:all, :include => [ :whens],:order => "position ASC")
The following line is mysteriously deleteing :where rows from the DB
after
2005 Sep 29
0
RE: Re: scgi_rails opens new a database connection for everyrequest?
It seems to me, by looking at the ActiveRecord code
(abstract_adapter.rb) that connections are opened and maintained by
default on a per Thread basis. This is because Rails is designed to
function either with single thread processes (fcgi) or with a pool of
Thread which are being reused. The connections are opened once for each
thread. If threads are created on each request, connections will be
2005 Nov 04
0
RE: Why class InstanceTag is defined at 4 different places inRails
In Ruby you can add and modify existing classes at will simply by
reopening it. The 4 files you mention add functionalities to the
InstanceTag class. This is not a redefinition. The best part is that you
can do the same ! An easy way to overwrite an existing method or to add
new ones is to create a file under you rails application lib directory
and put in it the replacement you want to make: