inline_svg
Smart Init - Simple service objects in Ruby
inline_svg | Smart Init - Simple service objects in Ruby | |
---|---|---|
1 | - | |
685 | 177 | |
- | - | |
5.6 | 2.0 | |
6 months ago | 9 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.
inline_svg
-
Adding a Star Rating with Hotwire
The best way to style an SVG icon (which is one of the big advantages of the format, in my opinion) is to embed the SVG in the HTML document (render it inline with the rest of the HTML) and from there apply CSS styles as you might expect. There's a gem called inline_svg that we'll make use of to make that easier.
Smart Init - Simple service objects in Ruby
We haven't tracked posts mentioning Smart Init - Simple service objects in Ruby yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
opal-rails - Bringing Ruby to Rails ยท Rails bindings for Opal
Rocketman - ๐ Rocketman help build event-based/pub-sub code in Ruby
Decent Exposure - A helper for creating declarative interfaces in controllers
wisper - A micro library providing Ruby objects with Publish-Subscribe capabilities
EasilyTypable - Ruby module that facilitates English-like type checking in an inheritance hierarchy via "type_name?" methods
Mutations - Compose your business logic into commands that sanitize and validate input.
Rails Event Store - A Ruby implementation of an Event Store based on Active Record
Amoeba - A ruby gem to allow the copying of ActiveRecord objects and their associated children, configurable with a DSL on the model
Rectify - Build maintainable Rails apps
Responders - A set of Rails responders to dry up your application
Waterfall - A slice of functional programming to chain ruby services and blocks, thus providing a new approach to flow control. Make them flow!