Story #5471

[Workbench] Remove ActiveRecord dependency

Added by Peter Amstutz about 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Low
Assigned To:
-
Category:
Workbench
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

Users are required to install a database when setting up workbench, even though workbench doesn't use a database. Can we remove the ActiveRecord dependency?

https://stackoverflow.com/questions/821251/how-to-configure-ruby-on-rails-with-no-database

class ArvadosBase < ActiveRecord::Base

What breaks if we no longer subclass from ActiveRecord::Base?


Related issues

Related to Arvados - Bug #5739: [Workbench] Remove artificial sqlite3 dependencyResolved04/15/2015

History

#1 Updated by Peter Amstutz about 4 years ago

  • Subject changed from [Workbench] Remove activerecord dependency to [Workbench] Remove ActiveRecord dependency
  • Description updated (diff)
  • Category set to Workbench
  • Priority changed from Normal to Low

#2 Updated by Tom Clegg about 4 years ago

I assume the issue here is that the installer is forced to apt-get install sqlite3 or something like that. Maybe we just need to remove sqlite3 from Gemfile, and possibly empty out config/database.yml?

The ActiveRecord dependency seems like it shouldn't be an issue; it gets installed automatically with everything else in Gemfile.

#3 Updated by Tom Clegg about 4 years ago

  • Status changed from New to Rejected
  • Target version changed from Bug Triage to Deferred

Also available in: Atom PDF