I want to prevent selecting user with his
id and that's why I am using this method which should work in this way, but instead I am getting this error:
undefined method `find_by_friendly_id' ...
This is the user model:
friendly_id :name, :use => [:slugged, :finders]
and the controller:
I have column
slug in the table.
I am using latest version of the gem -