enumerize - Enumerated attributes with I18n and ActiveRecord/Mongoid support

  •        68

Note that enumerized values are just identificators so if you want to use multi-word, etc. values you should use I18n feature.

https://github.com/brainspec/enumerize

Tags
Implementation
License
Platform

   




Related Projects

twinslash-enumerize

  •    Ruby

Enumerated attributes with I18n and ActiveRecord/Mongoid support

aasm - AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid)

  •    Ruby

This package contains AASM, a library for adding finite state machines to Ruby classes. AASM started as the acts_as_state_machine plugin but has evolved into a more generic library that no longer targets only ActiveRecord models. It currently provides adapters for many ORMs but it can be used for any Ruby class, no matter what parent class it has (if any).

mongoid-paperclip - Mongoid::Paperclip enables you to use Paperclip with the Mongoid ODM for MongoDB

  •    Ruby

Integrate Paperclip into Mongoid. This is actually easier and faster to set up than when using Paperclip and the ActiveRecord ORM.

simple_enum - Simple enum-like field support for ActiveModel (including validations and i18n)

  •    Ruby

Unobtrusive enum-like fields for ActiveRecord and Ruby, brings enums functionality to ActiveRecord and Mongoid models (built for Rails 4+). Note: a recent search on github for enum turned out, that there are many, many similar solutions. In fact starting with Rails 4.1, there's ActiveRecord::Enum which provides some of the functionality, but is IMHO pretty limited and too strict in the defaults it provides.

public_activity - Easy activity tracking for models - similar to Github's Public Activity

  •    Ruby

public_activity provides easy activity tracking for your ActiveRecord, Mongoid 3 and MongoMapper models in Rails 3.0 - 5.0. Simply put: it records what has been changed or created and gives you the ability to present those recorded activities to users - in a similar way to how GitHub does it. As of 1.6.0 version, public_activity also supports Rails up to 5.2.


mongoid-rspec - RSpec matchers and macros for Mongoid.

  •    Ruby

The mongoid-rspec library provides a collection of RSpec-compatible matchers that help to test Mongoid documents. This gem is compatible with Mongoid 3, 4, 5 and 6.

simple_calendar - A wonderfully simple calendar gem for Rails

  •    Ruby

Simple Calendar is designed to do one thing really really well: render a calendar. It lets you render a calendar of any size. Maybe you want a day view, a 4 day agenda, a week view, a month view, or a 6 week calendar. You can do all of that with the new gem, just give it a range of dates to render.It doesn't depend on any ORM so you're free to use it with ActiveRecord, Mongoid, any other ORM, or pure Ruby objects.

sorcery - Magical Authentication

  •    Ruby

Magical Authentication for Rails. Supports ActiveRecord, DataMapper, Mongoid and MongoMapper. Inspired by Restful Authentication, Authlogic and Devise. Crypto code taken almost unchanged from Authlogic. OAuth code inspired by OmniAuth and Ryan Bates's Railscast about it.

datagrid - Gem to create tables grids with sortable columns and filters

  •    Ruby

Create an issue if you want more. Datagrid DEMO application is available live! Demo source code.

databound - Provides Javascript a simple API to the Ruby on Rails CRUD.

  •    CoffeeScript

Provides Javascript a simple CRUD API to the Ruby on Rails backend. Check out live examples on the Databound website databound.me.

mongoid-slug - Generates a URL slug/permalink based on fields in a Mongoid-based model.

  •    Ruby

Mongoid Slug generates a URL slug or permalink based on one or more fields in a Mongoid model. It sits idly on top of stringex, supporting non-Latin characters. Mongoid Slug will attempt to determine whether you want to find using the slugs field or the _id field by inspecting the supplied parameters.

mongoid_search - Simple full text search for Mongoid ORM

  •    Ruby

Mongoid Search is a simple full text search implementation for Mongoid ORM. It supports Mongoid 3, 4, 5 and 6 and performs well for small data sets. If your searchable model is big (i.e. 1.000.000+ records), mongoid_fulltext, ElasticSearch, Solr or Sphinx may suit you better. Assuming you have a category with multiple products you can use the following code to search for 'iphone' in products cheaper than $499.

gh-pages - General purpose task for publishing files to a gh-pages branch on GitHub

  •    Javascript

Publish files to a gh-pages branch on GitHub (or any other branch anywhere else). This module requires Git >=1.9.

activeadmin-mongoid - ActiveAdmin hacks to support Mongoid

  •    Ruby

ActiveAdmin hacks to support Mongoid

mongoid-slug - Generates a URL slug/permalink based on fields in a Mongoid-based model

  •    Ruby

Generates a URL slug/permalink based on fields in a Mongoid-based model

mongoid-tree - A tree structure for Mongoid documents using the materialized path pattern

  •    Ruby

A tree structure for Mongoid documents using the materialized path pattern

mongoid-history - history tracking, auditing, undo, redo for mongoid

  •    Ruby

history tracking, auditing, undo, redo for mongoid

mongoid-paperclip

  •    Ruby

Mongoid::Paperclip enables you to use Paperclip with the Mongoid ODM for MongoDB.

mongoid_rails_migrations - Data migrations for Mongoid.

  •    Ruby

The most current release, 1.1.x, targets Mongoid >= 4.0.0 and Rails >= 4.2.0 . For Rails >= 3.2.0 and Mongoid >= 3.0.0, use version 1.0.0 .

activeadmin-mongoid - ActiveAdmin hacks to support Mongoid

  •    Ruby

ActiveAdmin is holding off on pulling Mongoid support into the core ActiveAdmin application. This repo was pulled into the ActiveAdmin org from previous work done by Elia Schito, and will be maintained by Nic Boie, JD Guzman, Elia Schito and other ActiveAdmin and community members. This gem has been brought into the ActiveAdmin org for support and maintenance.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.