Database Cleaner
Figaro
Our great sponsors
Database Cleaner | Figaro | |
---|---|---|
3 | 6 | |
2,912 | 3,767 | |
0.4% | - | |
0.0 | 0.0 | |
3 months ago | 19 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.
Database Cleaner
- Como configurar ambiente de testes em Ruby on Rails com RSpec
-
10 Signs of a good Ruby on Rails Developer
If your are using gems like faker , factory_bot_rails and database_cleaner to create and clean test records then creating unnecessary records can cost you time and speed.
Figaro
-
Setting Up OmniAuth Authentication in Development
In this post, I will go over the steps I took to authenticate to GitHub in a Rails development environment using the omniauth-github gem, "the official OmniAuth strategy for authenticating to GitHub", along with Devise, the figaro gem, and ngrok, a nifty tool that exposes your local WebHost to the internet. This guide will assume you already have Devise authentication setup for your app. See the link above for installation instructions.
-
JWT Token-based custom user authentication for Rails API only (Part 02)
figaro - for environment variables
-
10 Signs of a good Ruby on Rails Developer
You should not commit such credentials/secrets/environment variables to the Github instead you keep them secure with gems like dotenv-rails, figaro or simple dot files that are not committed to the repository.
-
Interact with Mysql Server using mysql2 gem [Part 1] - Select operations
Here, we are creating a service with private method connect_to_db that connects to our external mysql database. We are using following from application.yml:
What are some alternatives?
dotenv - A Ruby gem to load environment variables from `.env`.
PgHero - A performance dashboard for Postgres
Seed dump - Rails 4/5 task to dump your data to db/seeds.rb
RailsConfig - Easiest way to add multi-environment yaml settings to Rails, Sinatra, Pandrino and other Ruby projects.
Seed Fu - Advanced seed data handling for Rails, combining the best practices of several methods together.
Squasher - Squasher - squash your old migrations in a single command
SecondBase - Seamless second database integration for Rails.
ENVied - Ensures presence and type of your app's ENV-variables (mirror)
Configatron - A super cool, simple, and feature rich configuration system for Ruby apps.
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
Redis Dashboard - Sinatra app to monitor Redis servers.
Settingslogic - A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.