FriendlyId
Ahoy
Our great sponsors
FriendlyId | Ahoy | |
---|---|---|
6 | 15 | |
6,093 | 4,078 | |
- | - | |
6.3 | 7.5 | |
3 months ago | 11 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.
FriendlyId
-
Sqids – Generate Short Unique IDs from Numbers
On a side note, "Sqids ... is an open-source library that lets you generate YouTube-looking IDs from numbers.", "The main use of Sqids is purely visual."
If the purpose of it is to give a friendlier url / id, who not use something like friendly_id instead? (http://norman.github.io/friendly_id).
The url is readable and searchable through the history.
I would much rather prefer people using "www.website.com/channel/video/a-dog-walking" instead of "www.website.com/channel/video/3cXv8c".
-
How to ensure params are correct in URL after deleting a record?
Take a look at https://github.com/norman/friendly_id for a good gem to implement them.
-
replacing id with slug in routes.rb
Check out the friendly_id gem! I remember watching a GoRails video about it and thinking it looked super easy to implement.
-
Rails application boilerplate for fast MVP development
SEO tools - meta-tags, sitemap_generator and friendly_id
-
Devise Profile Usernames
friendly_id - We will use the friendly_id gem, which created slugs that we can map to a predetermined route. This is a method you can use throughout an application, not just with the User models.
-
26 most popular Ruby/Rails repositories on GitHub in July-August 2020
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. 5,500 stars by now
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?
Prerender Rails - Rails middleware gem for prerendering javascript-rendered pages on the fly for SEO
Impressionist - Rails Plugin that tracks impressions and page views
Rack Canonical Host - Rack middleware for defining a canonical host name.
Legato - Google Analytics Reporting API Client for Ruby
MetaTags - Search Engine Optimization (SEO) for Ruby on Rails applications.
active_analytics - First-party, privacy-focused traffic analytics for Ruby on Rails applications.
SitemapGenerator - SitemapGenerator is a framework-agnostic XML Sitemap generator written in Ruby with automatic Rails integration. It supports Video, News, Image, Mobile, PageMap and Alternate Links sitemap extensions and includes Rake tasks for managing your sitemaps, as well as many other great features.
Staccato - Ruby library to perform server-side tracking into the official Google Analytics Measurement Protocol
refinerycms-blog - The very best blogging engine for Refinery CMS
Gabba - Simple way to send server-side notifications to Google Analytics
yandex_xml - Gem yandex_xml. Get data from Yandex.XML service by XML
Analytical