madcato:

Ruby On Rails can be used without database. To do that, active_record gem must not be loaded. This gem is loaded automatically by Rails, to avoid that set this line in the file enviroment.rb:

config.frameworks -= [:active_record]  

This way we can deactivate other unneeded gems like action_mailer.