clean-code-ruby
Ruby on Rails
clean-code-ruby | Ruby on Rails | |
---|---|---|
1 | 504 | |
1,583 | 55,777 | |
- | 0.5% | |
0.0 | 10.0 | |
about 2 years ago | 5 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.
clean-code-ruby
Ruby on Rails
-
What's New in Ruby on Rails 8
This will answer your question: https://github.com/rails/rails/pull/52335#issuecomment-22395...
> I think there can be some overlap between rake tasks and one-off scripts and opinions may vary. In the related discussion Okura Masafumi mentions that rake tasks are one way but they can be executed multiple times, and I tend to agree, leaving rake tasks for code that is intended to be run multiple times.
> So script/ can hold one-off scripts, for example Basecamp uses script/migrate which I am guessing they use for updating data, and we had a similar folder at my previous company.
> But script/ is not only for one-off scripts, it can hold more general scripts too, for example rails generate benchmark already generates benchmarks in script/benchmarks, and at my previous company we had script/ops which had a bunch of shell scripts and ruby scripts for various ops-related things.
So really not so clear description. It caters to those who feel like they have a script that doesn't really fit in the Rake file.
-
Mitmproxy 11: Full HTTP/3 Support
Itâs great to see that Mitmproxy is still being developed - it indirectly made my career.
Back in 2011, I was using it to learn API development by intercepting mobile app requests when I discovered that Airbnbâs API was susceptible to a Rails mass assignment (https://github.com/rails/rails/issues/5228). I then used it to modify some benign attributes, reached out to the company, and it landed me an interview. Rest is history.
- Rails 8.0.0.beta1 Released
-
A RuboCop Configuration Tailored for Phlex
As a developer working with Ruby on Rails and the Phlex framework, I encountered a common pain point: writing Phlex views that are clean, readable, and efficient, while also adhering to RuboCopâs default style guidelines. While RuboCop is a fantastic tool for enforcing coding standards and preventing messy codebases, it can feel a bit restrictive when applied to view code, especially when using frameworks like Phlex along with something like TailwindCSS.
-
Switch Ruby's default parser from parse.y to Prism
Railsâ nightly CI already needed a fix: https://github.com/rails/rails/pull/52937
- SQLite on Rails: The how and why of optimal performance
-
Squash Your Ruby and Rails Bugs Faster
Coincidentally, the default Puma configuration in the most recent Rails release is similar to what's shown here (thanks to Nate Matykiewicz for the tip).
-
Moving From auto_strip_attributes to normalizes
Starting in Rails 7.1 we have "normalizes" as a declaration to make in our models. It provides the same functionality, but in a different manner.
-
Rails Guides 7.2 in Spanish Translated with OpenAI
MR to update Spanish translation
-
Diversify Your Tech Stack: Uncovering Powerful Node js Alternatives
It is also known to build secure applications, and the active community does well at finding solutions to the newest vulnerabilities. The Ruby and Ruby on Rails documentation are great resources for delving into this ecosystem, but if you prefer a guided path, The Odin Project open-source community would be an excellent start.
What are some alternatives?
rubocop-graphql - Rubocop extension for enforcing graphql-ruby best practices
Roda - Routing Tree Web Toolkit
metrics_collector - A Ruby code metrics collector
Hanami - The web, with simplicity.
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
Sinatra - Classy web-development dressed in a DSL (official / canonical repo)
CodeBehind Framework - CodeBehind library is a modern backend framework. This library is a programming model based on the MVC structure, which provides the possibility of creating dynamic aspx files in .NET Core and has high serverside independence.
Cuba - Rum based microframework for web development.
Padrino - Padrino is a full-stack ruby framework built upon Sinatra.
yjit - Optimizing JIT compiler built inside CRuby
react-on-rails - Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.
Syro - Simple router for web applications