typed_params
rails_param
typed_params | rails_param | |
---|---|---|
8 | 1 | |
105 | 933 | |
1.9% | - | |
7.8 | 5.1 | |
13 days ago | 4 months 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.
typed_params
-
"Useless Ruby sugar": Pattern matching (Pt. 1)
I don't have an Elixir background, but I absolutely utilize pattern matching in my Ruby code bases:
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
- https://github.com/keygen-sh/keygen-api/blob/master/app/migr...
- https://github.com/keygen-sh/keygen-api/blob/36cd61db143cc1c...
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
I love it. I want even more pattern matching too, like with defp: https://bugs.ruby-lang.org/issues/19764.
-
Show HN: Typed_params – An alternative to Rails strong_parameters
It's possible via a custom validation. I just added a test for that to showcase how: https://github.com/keygen-sh/typed_params/commit/5d2c91a484f...
-
GitHub - keygen/api: an open, source-available software licensing and distribution API built with Ruby on Rails
typed_params
- Show HN: typed_params – structured and typed parameters for Rails controllers
- GitHub - keygen-sh/typed_params: Define structured and strongly-typed parameter schemas for your Rails controllers
rails_param
-
GitHub - keygen-sh/typed_params: Define structured and strongly-typed parameter schemas for your Rails controllers
Why use this over rails_param?
What are some alternatives?
ruby-next - Ruby Next makes modern Ruby code run in older versions and alternative implementations
keygen-api - Keygen is an open, source-available software licensing and distribution API built with Ruby on Rails. For developers, by developers.
Action Policy - Authorization framework for Ruby/Rails applications
request_migrations - Write request and response migrations for Stripe-like versioning of your Ruby on Rails API. Make breaking changes without breaking things!