| Module | FriendlyId::Finders::Base |
| In: |
lib/friendly_id/finders.rb
|
| ids | [RW] | An array of ids; can be both friendly and unfriendly. |
| model_class | [RW] | The model class being used to perform the query. |
| options | [RW] | The ActiveRecord query options |
| scope | [RW] | The FriendlyId scope |
Is the id friendly or numeric? Not that the return value here is false if the id is definitely not friendly, and nil if it can not be determined. The return value will be:
@return [true, false, nil] @see unfriendly?
Is the id numeric? @return [true, false, nil] true if definitely unfriendly, false if
definitely friendly, else +nil+.
@see friendly?