An Overview of Ruby on Rails 7.1 Features. Part III

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • portrayal

    A minimal builder for struct-like classes in Ruby

  • I've been had great success building form objects with portrayal (https://github.com/scottscheapflights/portrayal) and ActiveModel. You can put validations into them, use them as form objects. Auto-filter the params based on class-level `portrayal.attributes` by making a `from_params`-type constructor. You're right that it'd be nice to have this out of the box, but this is just a few lines of glue code to setup. I'm in process of working on a new app template that does that.

  • railsdiff

    What you should change about your app's configuration when upgrading Rails versions

  • I've never had problems with upgrades, in fact the latest version of Rails make upgrading a breeze. What Rails app version are you trying to upgrade? Happy to help. Rails also has an upgrade guide that's quite good: https://guides.rubyonrails.org/upgrading_ruby_on_rails.html

    And you can use https://railsdiff.org/ to check what you're missing in upgrade apps. Anything other thing that break would most prolly come from another gem, which doesn't make it's Rails' fault or Ruby itself.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • authentication-zero

    An authentication system generator for Rails applications.

  • True. I tend to stay away from gems that try to integrate into multiple parts of your app to provide some sort of comprehensive solution. The kinds of gems I recommend are: 1) libraries (you call into them when you need them) 2) mounted apps on a url, isolated from the rest of your app 3) generators (this one seems nice, the author mentioned it in another HN thread: https://github.com/lazaronixon/authentication-zero).

  • Grape

    An opinionated framework for creating REST-like APIs in Ruby.

  • I'm very ambivalent about Grape, but this very much reminds me of something I do really like about it: the param validation. https://github.com/ruby-grape/grape#parameters

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Can I setup a React Native/Rails project the same way I would setup a React/Rails app, or should I expect major differences?

    1 project | /r/reactnative | 5 Apr 2022
  • Benchmarking Ruby 2.5 to 3.1 and YJIT

    1 project | /r/ruby | 28 Dec 2021
  • Is Sinatra a good choice for a rest API

    1 project | /r/ruby | 19 May 2021
  • What resources do you recommend to learn about Rails APIs?

    6 projects | /r/rails | 29 Apr 2021
  • Warden of Hanami - hanami.rb basic authentication

    5 projects | dev.to | 7 May 2024