404 Test- een pagina die niet bestaatSection: General
Dit is om te kijken hoe snel google een 404 pagina terug oppikt wanneer die na een tijd wel weer bestaat.<br>
Pagina aantemaakt op 27/08/2012

Een pagina die niet bestaat

 
Rails permissions when using passenger fusionSection: Ruby on Rails
 When using passenger fusion for hosting your rails sites, the rails process is owned by the user who owns config/environment.rb

So make sure that user can write to /tmp, /log and /public !

cross-subdomain sessionsSection: Ruby on Rails

If you want your session to be valid across multiple sub-domains, here is how you do it:

 config.action_controller.session = {

   :session_key => 'xxxxxxxxxxxxxxxx',
   :session_domain => 'domain.tdl',
   :secret => 'yyyyyyyyyyy'
}
 
 

 

mysql prefpane and leopardSection: Leopard

 The default mysql prefpane doesn't work with leopard.

Here is one that works:

 

ftp://ftp.mysql.com/pub/mysql/download/gui-tools/MySQL.prefPane-leopardfix.zip

 

rails 2.2.2 & mysql & leopardSection: Ruby on Rails

if you get this error after upgrading to Rails 2.2.2:

 

!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.

You can fix it with:

 

 

sudo env ARCHFLAGS="-arch i386" gem install mysql -- \
  --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib \
  --with-mysql-include=/usr/local/mysql/include