Remove unused PORO#to_param

This commit is contained in:
Benjamin Fleischer 2015-07-02 16:34:10 -05:00
parent 952d8adcdc
commit 1bf2825909

View File

@ -33,10 +33,6 @@ class Model
@attributes[:id] || @attributes['id'] || object_id
end
def to_param
id
end
def method_missing(meth, *args)
if meth.to_s =~ /^(.*)=$/
@attributes[$1.to_sym] = args[0]