search for: martijnvanleeuwen

Displaying 5 results from an estimated 5 matches for "martijnvanleeuwen".

2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
...ue Jan 10 16:55:14 2006] [notice] Apache/2.0.55 (Unix) mod_perl/1.99_17-dev Perl/v5.8.7 PHP/4.4.0 FrontPage/5.0.2.2635 mod_fastcgi/2.4.2 mod_ssl/2.0.55 OpenSSL/0.9.7e configured -- resuming normal operations [Tue Jan 10 16:55:32 2006] [warn] FastCGI: (dynamic) server "/home/martijn/domains/martijnvanleeuwen.nl/public_html/sponsors/public/test.fcgi" started (pid 18781) FastCGI: can''t start server "/home/martijn/domains/martijnvanleeuwen.nl/public_html/sponsors/public/test.fcgi" (pid 18781), execle() failed: No such file or directory [Tue Jan 10 16:55:32 2006] [warn] FastCGI:...
2006 Jan 24
9
Constructors
Hi all, A little question. How can u use an constructor in controller? I would like to initialize some central stuff before i''m processing the controller. thanks in advance, Martijn
2006 Jan 27
1
Activerecord default order by
Hi Mailinglist, I hope this isn''t a stupid question, but i would like to have a default order by in my model for all queries made by activerecord. And if i would like to chance the order i just use :order=>"field" so the default order by is overrided. I think this is a basic option of activerecord, but i haven''t found the answer in the docs. Kind Regards,
2006 Mar 08
3
file_column Cropping -> image offset information
Hello, I had a problem cropping images with file_column. These are my settings: file_column :image, :magick => { :versions => { :thumb => "80x80>", :medium => "150x150>", :square => { :crop => "1:1", :size => "50x50!" } },
2006 Feb 28
8
HABTM count table
Hello, I have a question about HABTM and counting records. I have these models class Sort < ActiveRecord::Base has_and_belongs_to_many :reports end class Report < ActiveRecord::Base has_and_belongs_to_many :region has_and_belongs_to_many :subjects has_and_belongs_to_many :sorts end And i would like to get a count like @sort.reports.count The problem is get this query: