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.

Highspeed SPA Architecture with Oxymoron gem. Amazing results and fast development

9 months ago, I began to explore the interaction of Rails and AngularJS. All my ideas I have laid in Oxymoron gem. This gem contains the Angular resources and UI-routes which are automatically generated from the Rails routes (from routes.rb). Gem includes many useful directives and services. Also it includes all the necessary configs. It really saves us up to 80% of the time. Me and my team have been written more than 15 commerz Rails apps this year based on Oxymoron. Applications are very fast and have beautiful architecture. Read more

Efficiently and Conveniently Building Ruby and Node.js Application Docker Containers

In this Phusion article we show how we build Docker application containers in two steps and explain why that is a useful thing to do. We then walk you through writing a build script that not only builds an application container but also runs its unit tests, checks with the source repository for conflicts or unchecked changes and tags and pushes the final image to the container repository. Read more

Little-known but Useful Rails Features: ActiveRecord.extending

Every now and then I discover some features in Rails that are not that (arguably) commonly used, but there are some use cases when they turn out to be super useful and the best tool for the job. One of them would definitely be a nice addition to ActiveRecord::QueryMethods - extending method. Let’s see how it could be used in the Rails apps [MORE INSIDE]

How to call services asynchronously in Ruby?

Sometimes you want to retrieve data from different sources at once, why not to use threads to do that in parallel? In this example you can see how to use concurrent-ruby and dry-monads to write asynchronous code in Ruby. You can also compare it to Java version.

Loading older posts