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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Heroku and Passenger: focus on the app-performance
By running Passenger on Heroku, you will be able to tune your app for optimal performance at the lowest cost. With our full set of tools: Passenger, Passenger Status Service and Union Station we deliver a complete solution for running, monitoring and optimizing your application:
HandlerSocket and Ruby
A short article about using a HandlerSocket plugin for MySQL with Ruby
Video: Processing Data with Kiba ETL (includes a live coding session)
In my latest post, I’m presenting the data-processing Kiba ETL gem in detail, underlining the business value of data processing, and also doing a live-coding session on a simple example.
Cut down on error messages by using Rails Routing Constr
Cut down on error messages produced by bots on your Rails app by using Routing Constraints.
Build Your Own World Almanac in 50 Lines of Ruby (w/ the factbook Gem)
Hello, The lastest (and greatest) version of the factbook library - that is, v1.1.1 - now includes a new almanac class that lets you build your own world almanac e.g. listing all the world’s 260+ countries and territories with capitals, population, internet users, mobile telephone subscriptions/100, religions, ethnic groups, languages, and so on. See ALMANAC.md as an example. How to build your very own in three steps: Read more
Create a ecommerce page with rails backend in 16 min
This tutorial will walk you through to create really simple store page by using Get Shit Done Pro Rails Version gem. If you using Rails, you should definitely take a look at it as this gem will save you lot of time on rails frontend development. Read more
Ruby 2.2.3 Class Basics : Part 2
Ruby 2.2.3 Class method inherited hook allows you to find out who subclassed a given class. Watch the video
ActiveResource Basics using Rails 4.2.4
If you need to upgrade your Rails apps to 4.2.4, you need to know how to use the activeresource gem that is now outside the Rails framework. In ActiveResource Basics using Rails 4.2.4 article, I cover the basics of getting a simple book application to talk to an inventory application using activeresource gem.
Ruby 2.2.3 Module Basics : Part 9
Ruby 2.2.3 Module methods such as module_function, prepended, private_instance_methods, remove_method and undef_method is covered in this video
Rails : Render templates outside controllers
Came across this blog post where it discusses and compares ways to test or render the #view #templates outside of the #controllers. #rails5 #rails4 Read more
Reengineer legacy Rails applications
I wrote a blog post with a workflow to reengineer legacy Rails applications #rails #cbra #ruby
How to Write Ruby Web Apps without Rails
We rubyists love our frameworks, and for good reason. But have you ever had a small app where Rails or even Sinatra was more than you needed. Even if you haven’t, every ruby coder should understand how a basic Rack app works.
Static Site Spotlight #1 - The Riding Rails Blog is build with ... Jekyll
Hello, over at Vienna.html I’ve started a new series that highlights a static site (w/ source) every week. The first real-world example is “The Riding Rails Blog” build with… Jekyll. The next example is “The Go Cookbook” build with… Jekyll. For more updates follow along. Cheers. PS: Know a great static site to spotlight? Let us know here or ping @viennahtml.
Ruby 2.2.3 Module Basics : Part 8
Ruby 2.2.3 Module methods such as extend_object, extended, included, method_added, remove_method and method_removed is covered in this video
Building a backend agnostic search query interface for ruby
The engineering team of e-Travel shares somes insights on how they build a backend agnostic search query interface for ruby:
New release for migration_data
Now it’s possible to squash old migrations with a rake task easily. Checkout my post about the feature (see update section). And this is the gem for those who are not familiar with it.
Freakonomics CLI
I published a small CLI, wrapped in a gem, that makes it easy to fetch episodes of Freakonomics Radio* via the command line. Check it out here. Read more
Spanish ebook on Rails "Aprendiendo Ruby on Rails"
I’m currently writing this eBook as Early Access model. The book is focused on experience working with clients (from consultancy http://michelada.io) on real Ruby on Rails applications. Read more
Tips for Contributing Open Source Projects
Hi, I’m Stan. I wrote an article that provides some tips about contributing open source projects. And if you are junior developers like me and wants to make some contribution, this article might help!
Bootstrap Templates Added to Rails Composer
I’ve released Rails Composer with a collection of 23 Bootstrap page templates.. The Rails community contributed to a Kickstarter campaign to make it happen. You are awesome! Enjoy.
Know your ActiveRecord objects
I don’t know if this happens to you, but at times I find it hard to escape the SQL style of building queries with ActiveRecord. In this post I show a couple of examples.
https://github.com/simplabs/rails_api_auth
RailsApiAuth is a lightweight Rails Engine that implements the “Resource Owner Password Credentials Grant” OAuth 2.0 flow as well as Facebook authentication. Find more info on github or in the introductory blog post.
A Ruby Gem for Scalable Offline Sort
At Salsify we needed a way to sort the contents of large files using a predictable amount of memory. This blog post discusses our journey toward better understanding Ruby memory and performance characteristics as we built our offline-sort gem.
How to rotate Rails logs
Logs tend to get huge over time in Rails apps which can lead to “No more space left” type of errors. To avoid this learn How to rotate Rails logs.