public marks

PUBLIC MARKS from Spone with tags database & rails

16 October 2014 12:00

Revelry Labs | Making a Rails app without a database

Occasionally, you may want to build a Rails app without ActiveRecord or a database. Your application might only store data using third party APIs, or might not have any persistent data at all. Since Rails optimizes for the most common case (a database-backed app), it refuses to start the server without a database connection by default.