Permalink
Browse files

Disable prefix check

This is a temporary fix to stop the MissingPrefixParam exceptions in Rails 3.1.1.
  • Loading branch information...
1 parent b42897a commit bd82d8f9cd72f0c982a3e2aae2aceea31c2a2224 @anibalcucco committed Nov 22, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/basecamp/resource.rb
@@ -16,6 +16,9 @@ def prefix_source
end
end
+ def check_prefix_options(options)
+ end
+
def prefix(options = {})
if options.any?
options.map { |name, value| "/#{name.to_s.chomp('_id').pluralize}/#{value}" }.join + '/'

0 comments on commit bd82d8f

Please sign in to comment.