lookup_by
AASM
lookup_by | AASM | |
---|---|---|
1 | 3 | |
34 | 4,959 | |
- | 0.4% | |
3.2 | 3.8 | |
almost 2 years ago | 22 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lookup_by
-
Ah yes, wildcard routes
It looks like a query, but it might be preloaded with something like lookup_by. It's all seamless in Rails.
AASM
-
Code review of an Order object implemented as a state machine
AASM gem is great too! Easy to use and actively maintained.
-
RoR Gems: Pin To Plane For Developing RoR Application
6. AASM
-
Validate state transition easily without any gem
You can use state machine gems, such as aasm to write validation. But the gem introduces new DSL to write state transition. It's too much just for validation.
What are some alternatives?
asset_ram - Reduce Rails allocations by 35%+ and gain a speed boost. Memoizes asset links.
State Machine - Adds support for creating state machines for attributes on any Ruby class
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
Workflow - Ruby finite-state-machine-inspired API for modeling workflow
PaperTrail - Track changes to your rails models
Statesman - A statesmanlike state machine library.
ransack - Object-based searching.
state_machines - Adds support for creating state machines for attributes on any Ruby class
Ruby on Rails - Ruby on Rails
StatefulEnum - A very simple state machine plugin built on top of ActiveRecord::Enum
cache-crispies - Speedy Rails JSON serialization with built-in caching
transitions - State machine extracted from ActiveModel