Registry / orm / friendly-id

friendly-id

JSON →
library5.7.0rbrubygemsunverified

FriendlyId is the Swiss Army bulldozer of slugging and permalink plugins for Active Record, allowing pretty URLs with human-friendly strings.

gem install friendly_id
INSTALL
IMPORT
SIG · FRIENDLY-ID
F
friendly-id
ormrubyv5.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FriendlyId
require 'friendly_id'

Generate slugs for Active Record models.

require 'friendly_id' class User < ActiveRecord::Base extend FriendlyId friendly_id :name, use: :slugged end User.create(name: 'John Doe').slug # => "john-doe"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.7.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources