Tag: Rails with no DB

Configure Ruby on Rails with no database

Although Rails is intended for creating database-backed web applications, this example is simple enough that it doesn’t require one. In this case, you need to edit the enviroment.rb configuration file to indicate that your application does not use a database. It is possible to disable loading ActiveRecord by making a simple modification to environment.rb: 1. …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/configure-ruby-on-rails-with-no-database/