Project

General

Profile

Actions

Idea #5471

closed

[Workbench] Remove ActiveRecord dependency

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

Status:
Rejected
Priority:
Low
Assigned To:
-
Category:
Workbench
Target version:
Start date:
Due date:
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 dependencyResolvedTom Clegg04/15/2015Actions
Actions #1

Updated by Peter Amstutz about 9 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
Actions #2

Updated by Tom Clegg about 9 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.

Actions #3

Updated by Tom Clegg about 9 years ago

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

Also available in: Atom PDF