Instantly share code, notes, and snippets.

View page.txt
DataMapper::Is::ReadOnly::Error in Home#index
Showing /Volumes/SSD Data/BINK/rekenservices/app/views/home/index.html.erb where line #2 raised:
ReadOnly resource cannot be modified
Extracted source (around line #2):
1: <%- i = 0 %>
2: <% data = group_by_category(RekenserviceRated.all(:order => [:rating.desc])) %>
3: <% not_used_categories = Category.all(:id.not => data.keys.map{|c| c.id })%>
View supervisord.sh
#! /bin/sh
### BEGIN INIT INFO
# Provides: supervisord
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.