Project Awesome project awesome

Rails > Gems

Packages.

Collection 2.8k stars GitHub

Active Record

Enumerize 1.8k updated 1mo ago

Enumerated attributes with I18n and ActiveRecord/Mongoid support. It can be integrated with Simple Form.

counter_culture 2.1k updated 28d ago

Turbo-charged counter caches for your Rails app. Huge improvements over the Rails standard counter caches.

custom_counter_cache 60 (archived)

A simple approach to creating a custom counter cache that can be used across multiple models.

Sequenced 404 updated 3y ago

Sequenced is a simple gem that generates scoped sequential IDs for ActiveRecord models.

FriendlyId 6.2k updated 1mo ago

FriendlyId is the “Swiss Army bulldozer” of slugging and permalink plugins for ActiveRecord. It allows you to create pretty URL’s and work with human-friendly strings as if they were numeric ids for ActiveRecord models.

AASM 5.2k updated 5mo ago

State machines for Ruby classes (plain Ruby, Rails Active Record, Mongoid).

PaperTrail 7.0k updated 5mo ago

PaperTrail lets you track changes to your models' data. It's good for auditing or versioning.

paranoia

ActiveRecord plugin allowing you to hide and restore records without actually deleting them.

Validates 153 updated 9y ago

Validates provides collection of useful custom validators for Rails applications, including: * EmailValidator * UrlValidator * SlugValidator * MoneyValidator * IpValidator * AssociationLengthValidator * AbsolutePathValidator * UriComponentValidator * ColorValidator * EanValidator (EAN-8 & EAN-13)

globalize

Rails I18n de-facto standard library for ActiveRecord model/data translation.

deep_cloneable 811 updated 1mo ago

This gem gives every ActiveRecord::Base object the possibility to do a deep clone that includes user specified associations.

social_shares 327 updated 7y ago

Check how many times url was shared in social networks.

public_activity 3.0k updated 2mo ago

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

goldiloader 1.7k updated 6d ago

Automatic ActiveRecord eager loading to reduce the number of database queries run by your application.

ActionStore 408 updated 1y ago

Store different kind of actions (Like, Follow, Star, Block ...) in one table via ActiveRecord Polymorphic Association.

Debug

letter_opener 3.8k updated 1y ago

Preview email in the default browser instead of sending it. This means you do not need to set up email delivery in your development environment, and you no longer need to worry about accidentally sending a test email to someone else's address.

byebug 3.4k updated 2d ago

Byebug is a simple to use, feature rich debugger for Ruby 2. It uses the new TracePoint API for execution control and the new Debug Inspector API for call stack navigation, so it doesn't depend on internal core sources.

pry-rails 1.4k updated 1y ago

Avoid repeating yourself, use pry-rails instead of copying the initializer to every rails project. This is a small gem which causes rails console to open pry. It therefore depends on pry.

awesome_print 4.1k updated 1y ago

Awesome Print is a Ruby library that pretty prints Ruby objects in full color exposing their internal structure with proper indentation.

web-console

Web Console is a debugging tool for your Ruby on Rails applications.

spring 2.8k updated 1mo ago

Spring is a Rails application preloader. It speeds up development by keeping your application running in the background so you don't need to boot it every time you run a test, rake task or migration.

rails-footnotes

Rails footnotes displays footnotes in your application for easy debugging, such as sessions, request parameters, cookies, filter chain, routes, queries, etc.

g 121 updated 12y ago

The Kernel.g that works like Kernel.p by using terminal-notifier or growl.

terminal-notifier 7.1k updated 4mo ago

terminal-notifier is a command-line tool to send Mac OS X User Notifications, which are available in Mac OS X 10.8 and higher.

Better Errors 6.9k updated 1y ago

Better errors replaces the standard Rails error page with a much better and more useful error page.

RailsPanel 3.9k updated 5mo ago

RailsPanel is a Chrome extension for Rails development that will end your tailing of development.log.

Testing

rspec-rails 5.3k updated 14d ago

Rspec-rails is a testing framework for Rails 3.x and 4.x.

Capybara 10.1k updated 4mo ago

Capybara helps you test web applications by simulating how a real user would interact with your app. And drivers:

factory_bot

Factorybot is a fixtures replacement with a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, attribute hashes, and stubbed objects), and support for multiple factories for the same class (user, adminuser, and so on), including factory inheritance.

factory_bot_rails 3.1k updated 2mo ago

Factorybotrails provides Rails integration for factory_bot.

factory_factory_girl 45 updated 10y ago

FactoryFactoryGirl lets you generate factory files more efficiently with naming rules.

Database Cleaner 3.0k updated 8mo ago

Database Cleaner is a set of strategies for cleaning your database in Ruby.Support ActiveRecord, DataMapper, Sequel, MongoMapper, Mongoid, CouchPotato, Ohm and Redis.

shoulda-matchers 3.6k updated 4d ago

Shoulda-matchers provides serveral matchers for testing common Rails functionality.

ResponseCodeMatchers 61 updated 8y ago

ResponseCodeMatchers provides rspec matchers to match http response code.

SimpleCov 4.9k updated 1mo ago

SimpleCov is a code coverage analysis tool for Ruby.

Timecop 3.4k updated 4mo ago

A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code.

VCR 6.0k updated 6d ago

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.