Monday, August 29, 2011

Ruby Books

I have been working on ruby. Best book I have found is "Programmin Ruby" By Dave Thomas.

The language which has best documentation is "PHP" . The php manual is all what you need, I was searching something like that in ruby and 'Programming Ruby' is the gem.

Sadly I haven't found such documentation for Python. is 'ok' to me but it has not been effective like 'php' or 'ruby' . 

Saturday, August 27, 2011

Ruby on Rails Apache passenger defaults to production environment

I have been playing with ROR. I had been experimenting with WebRick server that comes with rails but default.
I tried to test my app with apache passenger module/mod_rails.
Passenger will assume the environment as 'production'.
On the other hand when you use rake db:migrate command it works for the 'development' environment.

If you want to use passenger for testing/development enviroment use the
rake db:migrate RAILS_ENV=production command.

or set the RailsEnv in your .conf file or in a .htaccess file(If AllowOverride is  set ).
For details visit here.

Saturday, August 20, 2011

javascript IE compatibility

I was pulling my hair off today when Nothing seemed to work at IE. After Some careful debuggin got out of it.
'class' is reserved at IE, MIDORi will not validate the script.

About Me

Web Developer From Dhaka, Bangladesh.