Skip to content

Rails application for supporting Collection Services at University of Cincinnati Libraries.

License

Notifications You must be signed in to change notification settings

uclibs/tricerashopper

Repository files navigation

Tricera-shopper!

Tricerashopper is a collection development dashboard for the University of Cincinnati Libraries. It is a Ruby on Rails application that uses the locally developed ActiveSierra Rails Engine to interface with the Sierra ILS and provide useful information for library staff.

Select Content Services Department workflows are also supported by the app.

Notes on usage:

Access restricted information is managed by Devise. Application administrators must manually create authorized users on the Rails console using the following pattern:

@user = User.new(:email => '[email protected]', :password => 'password', :password_confirmation => 'password')

@user.save

Tricerashopper includes apps to support acquisitions workflows, including a materials request form. To support this workflow, users can be created with one of three roles: selector, assistant, and admin.

Selector type allows users to submit and edit orders.

@user = Selector.new(:email => '[email protected]', :password => 'password', :password_confirmation => 'password', :location => ["loc1", "loc2"], :lmlo_receives_report => true,)

@user.save

Assistant type is a delegate account, tied to a selector, allowing the user to submit and edit orders to be reviewed and approved by assigned selector.

@user = Assistant.new(:email => '[email protected]', :password => 'password', :password_confirmation => 'password', :selector_id => 1)

@user.save

Admin type is for Acquisitions staff to review and process the orders.

@user = Admin.new(:email => '[email protected]', :password => 'password', :password_confirmation => 'password')

@user.save

Updating a user

u = User.find(idnumber)

u.update_attributes(attribute: value)

u.save

Listing user info

y User.all

===================================================================================================== Search and Index

Sunspot is used to provide interaction with Solr. Sunspot Docs

When installing, run

bundle exec rake sunspot:solr:start

When updating the searchable definition in a model, be sure to reindex:

bundle exec rake sunspot:solr:reindex

About

Rails application for supporting Collection Services at University of Cincinnati Libraries.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •