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.

How to add database constraint validation for table

It is not a secret, that even having validations in Ruby on Rails application models through checking the uniqueness, two separate, but identical objects, can be saved to the database. This happens in services within subsequently full of users, which can simultaneously connect to the common database and write two similar records at the same time. To avoid such coincidences and to provide yourself with this kind of errors, I decided to look for methods at ruby gems communities. http://blog.active-bridge.com/how-to-add-database-constraint-validation-for-table

Useful GitHub Tool

We developed a magic app, that helps you to keep clean your GitHub repository and rebase branches. Also, it notifies you, if your branch has any conflicts. You can set “auto rebase” and the app will automatically do rebase. https://projectr.io

Rails 5 Base Application

I’ve assembled a base Rails 5 application with search, a simple public and layout for everyone’s benefit. Some other features: ready to deploy to Heroku, Google Analytics and AWS ready to go with simple environment variable configuration. There’s much more that I’ll document and improve upon soon. [more inside]

Planet Jekyll's Static Website Showcase Update II - Ten More New Sites (Incl. Source)

Hello, I’ve updated the Planet Jekyll’s Showcase for the world’s greatest static websites with ten more new sites (incl. source). Did you know? 1) Markdown Tutorial - Lessons for Writers 2) Brick: Google Web Fonts Alternative 3) Font Library: Over 800 Google Fonts, Let’s Organize Them! 4) Hyde Press Bookshelf: Free Books about Jekyll ‘n’ Friends 5) World Classics Bookshelf - The World’s Greatest (Literature) Books in .txt 6) Zen of Book Designs / Epsilon (Franklin) Theme 7) Bootstrap Expo - Beautiful and inspiring uses of Bootstrap 8) Static Map Maker - Bing, Google, Mapbox, ‘n’ More 9) Postgres Guide - Guide to the world’s most advanced open source database 10) Octopod - Podcast publishing extension for Jekyll ++ are built with… Jekyll. Any site missing? Add your site. Happy Jekylling. Cheers.

Thredded v0.7.0

Thredded, the best Rails forums engine, has just released v0.7.0. This is a major release that adds configurable ordering of topics and topic list display and enhancements to moderation UI (from version v0.6+). Check out the live demo at thredded.org. [more inside]

Go Full Stack Rails - The Backend

In this series of blog posts, I walk the reader through building a raw and real full-stack application with Rails and ES6, from beginning to end. We already have part 1 and part 2, which describe the full backend code of the chosen example application.

Ranking implementation using Postgres window function in Ruby on Rails app

Here is quick and simple approach for implementing ranking functionality in RoR app with PostgreSQL database http://naturaily.com/blog/post/ruby-on-rails-implementation-of-a-ranking-system-using-postgresql-window-functions

Hey @Patryk the article was really helpful but could you please add a href attr…
Hey @Kaloyan, thank you very much for noticing. It’s fixed now ;)

Tuts+ Article: How to Create and Publish a Jekyll Theme Gem by David Darnes

Hello, Happy Birthday Jekyll! Celebrating 8 years. What’s News? Starting with v3.3 you can build ‘n’ use Gem-Packaged Themes. See the Tuts+ Article: How to Create and Publish a Jekyll Theme Gem by David Darnes. PS: I’ve started an Awesome Jekyll (Gem-Packaged) Themes page / collection. New themes include: Minima, Swiss, Athena, Leonids, Garth, and more. You’re more than welcome to add your theme. Happy Jekylling! PS: To get started with Minima - the built-in theme on GitHub Pages, see Hello, Minima!.

Active Admin

Admin section is a common module for most of the applications. For Rails applications we have a gem called Active Admin. That can be used to create application from scratch to admin interfaces with little effort. Checkout the installation, Authentication & Customization of Active Admin

Loading older posts