You [Gerald Bauer¹] have been permanently banned [for life] from participating in r/ruby (because of your writing off / outside of r/ruby). I do not see your participation adding anything to this [ruby] community.
-- Richard Schneeman (r/ruby mod and fanatic illiberal ultra leftie on a cancel culture mission)
¹: I know. Who cares? Who is this Gerald Bauer anyway. A random nobody for sure. It just happens that I am the admin among other things of Planet Ruby.
Case Studies of Code of Conduct "Cancel Culture" Out-Of-Control Power Abuse - Ruby - A Call for Tolerance On Ruby-Talk Results In Ban On Reddit RubyUpdate (August, 2022) - A Call for More Tolerance And Call For No-Ban Policy Results In Ban On Ruby-Talk (With No Reason Given)
> I just banned gerald.bauer@gmail.com. > > -- SHIBATA Hiroshi > >> THANK YOU >> >> -- Ryan Davis >> >> >> My full support to moderators. >> >> -- Xavier Noria >> >> My full support to moderators. >> >> -- Carlo E. Prelz >> >> That's fun. >> >> -- Alice
« 25 Days of Ruby Gems - Ruby Advent Calendar 2020, December 1st - December 25th
Written by Marc Köhlbrugge
Maker of WIP - a community of makers shipping - and of Startup Jobs, BetaList, Faces, among others.
We all know building a great product requires understanding the end-user. One way of improving your understanding is to look at their behavior. But who wants to install creepy, third-party Javascript to track our beloved users? Not me.
Fortunately, we already have a lot of data at our disposal. Right in our database!
Enter blazer
.
Blazer makes it super easy to build a business intelligence dashboard by writing simple SQL queries. It even generates beautiful charts so you can actually understand your data at a glance.
Blazer goes further than just providing a dashboard. It can notify you of things you care about. Just write a query and Blazer will send you an email or Slack message when an SQL query starts returning results you didn’t expect.
For example we use the following check to get notified when there are users who signed up last week, but still haven’t created any todos:
SELECT users.id
FROM users
LEFT OUTER JOIN todos ON todos.user_id = users.id
WHERE users.created_at BETWEEN (NOW() - '2 week'::interval) AND (NOW() - '1 week'::interval)
GROUP BY users.id
HAVING COUNT(todos.id) = 0
Blazer is meant to be added to an existing Ruby on Rails app.
After installing the gem, run the following commands:
rails generate blazer:install
rails db:migrate
Then mount the dashboard in your config/routes.rb
:
mount Blazer::Engine, at: "blazer"
Browse to https://localhost:3000/blazer
to create your first dashboards.
I strongly advise you to configure authentication before deploying to production. The docs include some other great suggestions and advanced examples as well.
Built with Ruby
(running Jekyll)
on 2023-01-25 18:05:39 +0000 in 0.371 seconds.
Hosted on GitHub Pages.
</> Source on GitHub.
(0) Dedicated to the public domain.