Registry / database / ryanb-acts-as-list

ryanb-acts-as-list

JSON →
library0.1.2rbrubygemsunverified

Acts As List is a gem version of the acts_as_list Rails plugin for managing ordered lists in ActiveRecord.

gem install ryanb-acts-as-list
INSTALL
IMPORT
SIG · RYANB-ACTS-AS-LIST
R
ryanb-acts-as-list
databaserubyv0.1.2
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.

ActsAsList
require 'acts_as_list'

Use acts_as_list to manage ordered items in a Rails model

require 'acts_as_list' class TodoItem < ActiveRecord::Base acts_as_list scope: :todo_list end # Move an item to the top item = TodoItem.find(1) item.move_to_top
Debug
Known issues
gotchaThis gem is an older version of acts_as_list; newer versions have different APIs and bug fixes.
fix
Consider using the actively maintained acts_as_list gem (swanandp/acts_as_list) instead.
affects: >= 0.1.0
Upgrade
Version history
0.1.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
Resources
ryanb-acts-as-list — gem install ryanb-acts-as-list · libregistry