The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Skunk is a Ruby gem that will combine code quality metrics from Reek; Flay; Flog; and SimpleCov to calculate a Stink Score for a file or set of files. [more inside]
ActionCable can handle quite a bit of traffic, but it gets to a point where it can become a burden on the server. With AnyCable, we can not only handle more traffic, but it is also lighter on the resources. https://www.driftingruby.com/episodes/plugging-in-anycable
How I sped up a portion of a Rails test suite from 18 minutes down to 6.5 minutes. The post goes over the process of identifying the bottleneck and the challenges of adopting the solution. The app in question is open source and helps Veterans get their appeals for disability benefits processed faster. [more inside]
Hello, I’ve put together the sportdb-reader gem / library that
lets you read in (import) text datafiles into any SQL database (using the sport.db schema / tables) using
SportDb.read. Try it with the English Premier League e.g. (
2019-20/1-premierleague.txt) or the Deutsche Bundesliga e.g. (
2019-20/1-bundesliga.txt), for example. Cheers. Prost.
This is how we helped to implement this feature: https://www.fastruby.io/blog/code-quality/code-coverage/rubycritic-4-2-0-simplecov-support.html
How to safely remove image assets from a Rails app. If you have a legacy app, your image assets often turn into a bloated junk drawer. Clean them up for faster tests, deployments, and less clutter. Follow this guide to remove Rails image assets with confidence.
My experience with implementing end-to-end testing for API only Rails apps leveraging the gherkin syntax. A real life example of the importance and the benefits of this level of testing. [more inside]
Added event logger and json serializer for email validation result. Be sure that email address valid and exists. https://github.com/rubygarage/truemail