Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
A simple plugin make permalink for you records.
Note: only supprt Rails 3
gem install seofy
Rails 3
gem 'seofy'
# existing_column adapter
class User < ActiveRecord::Base
seofy :source => :name, :adapter => :existing_column, :adapter_option => {:column => :slug}
end
# base36 adapter
class Store < ActiveRecord::Base
seofy :source => :title, :adapter => :base36, :adapter_option => {:length => 3, :column => :slug }
end
User.for_seofy("a-name-slug")
for_seofy_with_short_url
will support get record only use slug
User.for_seofy_with_short_url("slug")
User.for_seofy_with_short_url("a-name-slug")
and we won't override to_param
method, we create new one seofy_param
user = User.create(:name => "I am allen", :slug => "abc") user.seofy_param #=> "i-am-allen-abc"
rake seofy:update_all MODELS=User,Store
rake seofy:update_null MODELS=User,Store
FAQs
Unknown package
We found that seofy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.