From f4d493ed7c451f3df7602c5164a1954caa40284e Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Sat, 25 Aug 2012 13:34:52 +0200 Subject: Fix ActionView::RecordIdentifier to work as a singleton We extend it with self, but the methods were not working properly were used directly on module. --- actionpack/lib/action_view/record_identifier.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_view/record_identifier.rb') diff --git a/actionpack/lib/action_view/record_identifier.rb b/actionpack/lib/action_view/record_identifier.rb index 0d44145231..2953654972 100644 --- a/actionpack/lib/action_view/record_identifier.rb +++ b/actionpack/lib/action_view/record_identifier.rb @@ -27,6 +27,7 @@ module ActionView # same naming convention and allows you to write less code if you follow it. module RecordIdentifier extend self + extend ModelNaming include ModelNaming -- cgit v1.2.3