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.

Grub - Add comments to your Gemfile with each dependency's description

Check out this simple tool to clarify your Gemfile contents by adding a comment for each gem that describes what it does. Try it out live at https://grub-gemfile.herokuapp.com/ or install the tool yourself https://github.com/ivantsepp/grub . Let me know what you think and file any issues/ideas you have at GitHub

The link seems to be broken because of inclusion of the trailing dot.
Fixed! Thanks for catching that
Did you know grub is the name of the Linux bootloader you should probably chang…

Rails plugin to send Newsletters via Amazon SES

I just published a Rails plugin that allows you to easily build and send Newsletters via Amazon SES (which is very affordable). The name of the gem is aws_ses_newsletters. It uses Sidekiq (because you will usually run the process asynchronously) and Premailer to inline the css. You can find the code here: https://github.com/10Pines/aws_ses_newsletters The readme has detailed instructions to install it and use it. There is also a demo project at: https://github.com/10Pines/aws_ses_newsletters_demo Any feedback will be appreciated!

dokku VM setup with hints on how to use Rails on top

I described a workflow to use dokku in Ubuntu VMs and some basic hints on how to host a Rails app on top of this. The app can make full use of postgres, persistent storage (e.g. for file uploads) and two-and-a-half-lines-of-code SSL support (letsencrypt). I find the little tools around that setup real fun to work with. Find the article at http://fwolfst.github.io/docker/dokku/dokku-alt/virtualization/2016/04/18/dokku-on-ubuntu-vm-complete-rails.html . It might still be rough at the edges, feedback more than welcome!

Use Ruby’s Refinements Anywhere With An Anonymous Class

After lots of experimentation and searching over a few years I’ve finally found a way to use Ruby’s refinements conveniently and anywhere. You don’t need to define a class method to use the refinement or instantiate an instance of a class that has the using syntax in it. You may use using in an anonymous class if it is opened with the shovel operator « . Read more here: Use Ruby’s Refinements Anywhere With An Anonymous Class

Using Webpack with Middleman

I use the Ruby static web framework, Middleman, to build my site, https://rossta.net. Middleman dropped support for Sprockets in its latest major release so when I went to upgrade recently, I needed to replace my asset pipeline with something else that turned out to be Webpack. I’ll describe the new external_pipeline feature in Middleman and how I got it to work with Webpack. https://rossta.net/blog/using-webpack-with-middleman.html

Try kramdown Online Editor & HTTP JSON API Service - Convert Markdown to HTML & LaTeX

Hello, I’ve put together a simple online editor that lets you try the kramdown library converting markdown to HTML or LaTeX. The online app also includes a HTTP JSON API service (e.g. /markdown) for conversion. All is packed up in the kramdown-service gem for easy (re)use and as an extra bonus includes a binary, that is, kramup, that starts up the online editor and service on your local machine (e.g. use $ kramup). Supported conversion options/modes include: [more inside]

Loading older posts