Skip to content

Commit 1bf2825

Browse files
committed
Remove unused PORO#to_param
1 parent 952d8ad commit 1bf2825

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/fixtures/poro.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ def id
3333
@attributes[:id] || @attributes['id'] || object_id
3434
end
3535

36-
def to_param
37-
id
38-
end
39-
4036
def method_missing(meth, *args)
4137
if meth.to_s =~ /^(.*)=$/
4238
@attributes[$1.to_sym] = args[0]

0 commit comments

Comments
 (0)