DatabaseValidations
Capistrano
Our great sponsors
DatabaseValidations | Capistrano | |
---|---|---|
3 | 10 | |
500 | 12,646 | |
1.0% | 0.2% | |
0.0 | 6.0 | |
10 months ago | about 1 month 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.
DatabaseValidations
-
Uniqueness validation does not work since the beginning of Ruby on Rails.
DatabaseValidations provides database-driven validations for ActiveRecord.
-
Ecto's uniqueness constraint vs. Rails' uniqueness validation
Love this post, great exploration of the nuances of uniqueness validations.
I came here to mention that there is also the https://github.com/toptal/database_validations gem which allows you to handle uniqueness validations in Rails in a similar manner to Ecto.
-
Rails application boilerplate for fast MVP development
add database_validations
Capistrano
-
Ask HN: Deploying my project on multiple servers?
If you don't want to go down the NFS share route then Capistrano is a useful tool if you're willing to write a little bit of ruby. It comes with some built in goodies like rollbacks. It's an oldie (pre-dockerize everything), but still useful.
https://github.com/capistrano/capistrano
You can start by deploying from your machine to simultaneously get it deploying across all your servers, then I'd consider having a CI/CD pipeline take over and run Capistrano for you.
-
railstart-niceadmin support more features
- Integrate automation deployment: [capistrano](https://github.com/capistrano/capistrano)
-
railstart-niceadmin release now!Backend management system based on Bootstrap 5 and NiceAdmin and Rails 7
Integrate automation deployment: capistrano
-
Run Your Rails App On Kubernetes: A Step-by-Step Tutorial
The deployment process generally includes making the new version available, directing traffic from the old to the new version, and stopping the old versions. Capistrano has been doing this since 2006. However, what makes Kubernetes deployments better is the minimum number of pods required, and its rollout strategy minimizes or eliminates downtime. For example, a rolling update strategy can ensure new pods gradually replace old pods with configs like maxSurge and maxUnavailable. Because this is done in a declarative way, as a user or operator, you only need to ask Kubernetes to apply a given deployment and Kubernetes does the rest. Next up is the Kubernetes config map.
-
Massh v1.7.0 - Distributed SSH with concurrent session streaming.
[1] https://github.com/capistrano/capistrano
-
10 Awesome Ruby Gems for Ruby on Rails Web Development
Capistrano
-
Approach to zero downtime deployment when not using vercel infrastructure?
What I had considered was writing a deployment script where upon successful build in a separate folder, it'd swap out the deployed folder, similar to how Capistrano works. It has a "current" folder and it'll build in a temporary folder and then replace the symlink to a newer build.
-
Rails application boilerplate for fast MVP development
capistrano with plugins for deployment
-
Deployer on GitHub Actions
deployer is a deployment tool written in PHP. It comes with "Zero Downtime Deployments" out of the box and can be extended by writing simple PHP code. (capistrano would be the equivalent in the Ruby world).
-
Cronjob to run on multiple multiple mchines
Capistrano, if you like Ruby.
What are some alternatives?
DatabaseConsistency - The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.
Mina - Blazing fast deployer and server automation tool
SchemaPlus - SchemaPlus provides a collection of enhancements and extensions to ActiveRecord
Fabric - Simple, Pythonic remote execution and deployment.
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
Vagrant - Vagrant is a tool for building and distributing development environments.
Upsert - Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
Deployinator
Lol DBA - lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
Chef - Chef Infra, a powerful automation platform that transforms infrastructure into code automating how infrastructure is configured, deployed and managed across any environment, at any scale
Squasher - Squasher - squash your old migrations in a single command
Rubber - A capistrano/rails plugin that makes it easy to deploy/manage/scale to various service providers, including EC2, DigitalOcean, vSphere, and bare metal servers.