features/app/active_resources.rb in pickle-dupe-0.2.2 vs features/app/active_resources.rb in pickle-dupe-0.3.0
- old
+ new
@@ -1,6 +1,9 @@
class AbstractResource < ActiveResource::Base
self.site = ''
+ def to_param
+ label rescue super
+ end
end
class Recipe < AbstractResource
end
\ No newline at end of file