Module: FriendlyId
- Defined in:
- lib/friendly_id.rb,
lib/friendly_id/test.rb,
lib/friendly_id/status.rb,
lib/friendly_id/railtie.rb,
lib/friendly_id/slugged.rb,
lib/friendly_id/version.rb,
lib/friendly_id/slug_string.rb,
lib/friendly_id/active_record.rb,
lib/friendly_id/configuration.rb,
lib/friendly_id/active_record_adapter/tasks.rb,
lib/friendly_id/active_record_adapter/finders.rb,
lib/friendly_id/active_record_adapter/relation.rb,
lib/friendly_id/active_record_adapter/simple_model.rb,
lib/friendly_id/active_record_adapter/configuration.rb,
lib/friendly_id/active_record_adapter/slugged_model.rb
Overview
FriendlyId is a comprehensive Ruby library for slugging and permalinks with ActiveRecord.
Defined Under Namespace
Modules: ActiveRecordAdapter, Base, Slugged, Test, Version Classes: BlankError, Configuration, Railtie, ReservedError, SlugGenerationError, SlugString, Status, TaskRunner
Class Method Summary collapse
-
.on_ar3? ⇒ Boolean
Are we running on ActiveRecord 3 or higher?.
Class Method Details
.on_ar3? ⇒ Boolean
Are we running on ActiveRecord 3 or higher?
4 5 6 |
# File 'lib/friendly_id/active_record.rb', line 4 def self.on_ar3? ActiveRecord::VERSION::STRING >= "3" end |