DatabaseValidations
Ahoy
Our great sponsors
DatabaseValidations | Ahoy | |
---|---|---|
3 | 15 | |
500 | 4,081 | |
1.0% | - | |
0.0 | 7.5 | |
10 months ago | 14 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.
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
Ahoy
-
Ahoy Captain: a full-featured, mountable analytics dashboard
A full-featured, mountable analytics dashboard for your Rails app, which is a blatant rip-off of heavily inspired by Plausible Analytics, powered by Ahoy. Open source, though lots of changing parts: https://github.com/joshmn/ahoy_captain
-
Best rails tools to automatically handle logging of things like all a user's actions, or changes to a record in a module - primarily for audit purposes.
For logging which functions were used you can use ahoy
-
How would you build an audit log in Rails for a high-throughput API?
Ahoy may be worth a try https://github.com/ankane/ahoy
- Want to keep track of URL visits, what's the simplest way to do achieve this?
-
Italian watchdog bans use of Google Analytics
I've slowly started ripping Google Analytics out of my Rails projects and replacing it with https://github.com/ankane/ahoy.
It's so much better! I can just use SQL to see what's going in and not get overwhelmed with 100's of visualizations and complicated dashboards.
-
Need some good documentation on implementation or tutorial video for AHOY gem
it's just a database table, so yeah, a migration is fine: https://github.com/ankane/ahoy/issues/461
-
Make Ahoy Queries faster?
I'm using the ahoy gem for analytics on my website (https://github.com/ankane/ahoy).
-
Cookie-based tracking is dead
I did server-side tracking test in a rails app, where I implemented a tracking gem called ahoy and blazer for visualization. It is very easy to set up, but a bit hard to use. Blazer can do a very basic visualization of the data if you know your SQL queries.
-
How would you build/record/store analytics data ;
https://github.com/ankane/ahoy The ahoy gem is pretty useful for this. Data model is pretty simple, it will track unique user sessions and metrics you specify will be associated with these sessions. The gem also parses the user agent, so it will indicate whether a session was on mobile, desktop or tablet.
What are some alternatives?
DatabaseConsistency - The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.
Impressionist - Rails Plugin that tracks impressions and page views
SchemaPlus - SchemaPlus provides a collection of enhancements and extensions to ActiveRecord
Legato - Google Analytics Reporting API Client for Ruby
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
active_analytics - First-party, privacy-focused traffic analytics for Ruby on Rails applications.
Upsert - Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
Staccato - Ruby library to perform server-side tracking into the official Google Analytics Measurement Protocol
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.
Gabba - Simple way to send server-side notifications to Google Analytics
SecondBase - Seamless second database integration for Rails.
Analytical