Skip to content

Instantly share code, notes, and snippets.

@jgm106
jgm106 / rails_server_stdout
Created April 18, 2012 20:13
template is missing
ActionView::MissingTemplate (Missing template public/500 with {:handlers=>[:erb, :builder], :formats=>[:html], :locale=>[:en]}. Searched in:
* "/opt/heracles/scholarsphere-jgm/app/views"
* "/usr/local/rvm/gems/ree-1.8.7-2011.03@scholarsphere/gems/devise-2.0.4/app/views"
* "/usr/local/rvm/gems/ree-1.8.7-2011.03@scholarsphere/bundler/gems/hydra-head-195fb6f56e51/app/views"
* "/usr/local/rvm/gems/ree-1.8.7-2011.03@scholarsphere/gems/blacklight-3.3.2/app/views"
* "/usr/local/rvm/gems/ree-1.8.7-2011.03@scholarsphere/gems/kaminari-0.13.0/app/views"
):
actionpack (3.2.2) lib/action_view/path_set.rb:58:in `find'
actionpack (3.2.2) lib/action_view/lookup_context.rb:109:in `find_template'
actionpack (3.2.2) lib/action_view/renderer/abstract_renderer.rb:3:in `__send__'
@jgm106
jgm106 / RoleMapper.roles-git_diff
Created April 17, 2012 01:04
RolerMapper.roles bug in hydra-head (4.0.0.rc6 dca91b9)
: fedora1test:pts/4%; pwd
/usr/local/rvm/gems/ree-1.8.7-2011.03@scholarsphere/bundler/gems/hydra-head-dca91b9dcbf3
: fedora1test:pts/4%; git diff
diff --git a/app/models/hydra/ability.rb b/app/models/hydra/ability.rb
index f50a89d..a300d91 100644
--- a/app/models/hydra/ability.rb
+++ b/app/models/hydra/ability.rb
@@ -9,7 +9,7 @@ module Hydra::Ability
## You can override this method if you are using a different AuthZ (such as LDAP)
def user_groups(user, session)