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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
RubyGems or “gem” is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries. It is easy to manage and install to your system and it can be used by various rails applications. Just Checkout how to create a new gem and how to publish it.
I give a brief rundown on where and how I run into problems that need solving as well as a few tricks and cool things you can do with Ruby to figure out what’s going on. [more inside]
Git basic tutorial and Github printable cheatsheet, workflow and markdown cheats. http://www.techoalien.com/2015/07/git-basic-tutorial-and-github-printable.html
We will continue to speak about patterns in a good code! Gem draper is not a decorator! And cells too. Ivan Shamatov, the mentor, will tell you what a true decorator is in his new article. With real-life examples written in Ruby which will be very useful in your Ruby On Rails applications: https://mkdev.me/en/posts/not-the-full-truth-about-decorators
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]
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.
Location Autocomplete and Geocoding using Google APIs in Rails. http://www.techoalien.com/2015/07/location-autocomplete-and-geocoding-rails.html
Find how to use table expressions window functions to ensure correct results for lat-lon searches within Rails. [more inside]
Keight.rb 0.3.0 released, a very fast web application framework for Ruby. It runs about 100 times faster than Rails, and 20 times faster than Sinatra. I’m sorry this release breaks backward-compatibilty in some points. See changes and readme for details.
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
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!.
Changes in Rails 5 http://www.techoalien.com/2015/06/changes-in-rails-5.html Blog will highlight some cool features of Rails 5
A new and most efficient way of Ruby Memoization: http://www.techoalien.com/2016/10/ruby-memoization-using-singleton-method.html
This post shows you how sql_tracker gem works, and its features that may help you to track and analyze SQL queries: http://stevenyue.com/blogs/tracking-sql-queries-in-rails/
You can implement GA code fast and easy, following these 4 steps. But pay attention to the points. http://blog.active-bridge.com/easy-way-to-implement-ga-code-in-your-rails-app
Hello, I’ve updated the Planet Jekyll’s Showcase for the world’s greatest static websites with ten new sites (incl. source). Did you know? Riding Rails Weblog, Ruby Language, Yarn Package Manager, Travis Foundation, Docker: Welcome to the Docs, Elixir School, Swift Weekly Brief, “csv,conf,v2”, Climate Treaty Texts from Paris COP21, Raw Funk Maharishi are built with… Jekyll. Any site missing? Add your site. Happy Jekylling. Cheers.
Ruby primitives are so powerful that we use them everywhere in our code, even when we shouldn’t. https://blog.dnsimple.com/2016/10/overcoming-primitive-obsession/