
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
paginate_alphabetically
Advanced tools
h2. PaginateAlphabetically
An easy way to paginate a list of ActiveRecord objects alphabetically by any given attribute.
h2. Example
h3. Model
bc. class User < ActiveRecord::Base paginate_alphabetically :by => :surname end
h3. Controller
bc. class UsersController < ApplicationController def index @users = User.alphabetical_group(params[:letter]) end end
h3. View (haml example)
bc. = alphabetically_paginate(@users) %ul.users
h2. Testing
The tests use a sqlite3 in-memory database to be able to run separately from your application.
bc. rake test
Copyright (c) 2010 Eden Development, released under the MIT license
FAQs
Unknown package
We found that paginate_alphabetically 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.