RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

An Introduction to the ViewComponent Gem

Modern web UIs are complex. Traditional layout/template/partial techniques are not always the best fit. ViewComponent seeks to provide a better way. It’s a framework for creating reusable, testable & encapsulated view components that integrate seamlessly with Rails. In this article, Abiodun Olowode shows us how to use ViewComponent to make our Rails views more manageable.

Multiple CSS files using TailwindCSS gem

Hi everybody, I think everybody who works with a tailwindcss-rails gem had a problem with just one file, so I have a solution for this, just add my gem to your project, create a folder “app/assets/tailwindcss_stylesheets” with your .css files inside and just start a server using ‘bin/dev’ or ‘rake tailwindcss:watch’ no more, it’s a simple solution. [more inside]

Is there any upside to using your gem instead of using postcss?
yep, I think yes, because using this gem does not need to have +100500 dependen…
Loading older posts