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.
How to set priorities in Rails 5 activejob
Activejob QueuePriority has been added in Rails 5 beta_1 release. Lets find out how to set priority in our Job class.
How to Deal with Timezones the Active Support Way
Unless a developer is fortunate enough to work at a company whose userbase is entirely located in the UTC timezone, writing software aware of different timezones can be a daunting task. Luckily, Ruby on Rails’ ActiveSupport library has some very nice built in features that can prove invaluable when facing time related issues.
A Tale of Security Gone Wrong
Find out why storing password entropy can lead to password hashes being compromised and how a feature implemented to make user’s more secure actually harms rather than helps! [more inside]
Rubyconf Brasil 2016 - Call for Papers Open!
We just opened up the CFP for the 9th edition of Rubyconf Brasil. Last year it was our largest yet with amost 70 speakers, 5 parallel tracks, ranging from not only Ruby but also new tech such as Elixir or Go. [more inside]
Spree 3.1.0.rc1 released
A new version of an E-commerce framework Spree Commerce is available on GitHub. [more inside]
Elements of a Continuous Deployment Workflow
Written from my own experience — I hope you’ll find some tips useful. Read article →
Should Ruby Heroes continue be a part of RailsConf?
Record your vote here. Retweets appreciated to reach people outside of my own followers. [more inside]
Learn to Use the Twitter API with Ruby
A Step-by-Step tutorial of how to setup your API keys and get started coding.
Ruby on Rails + TeamCity: Continuous Integration for nubbies
How to install and configure TeamCity 9 on the Ubuntu server, how to create and configure Rails project in it, how to track build or tests regression errors and live happily. Continuous Integration with RoR + TeamCity
The lesser-known ActiveSupport #presence_in method
Write one liners for whitelisting user input using the hidden #presence_in method. [more inside]
Introducing QuizBuzz!
We’re going to be running a London based monthly meetup from late April, open to anyone who wants to put their programming trivia skills to the test: QuizBuzz info
JRuby Mahout Integration
Integrating jruby with machine learning collection of libraries mahout. Using maven to access java libs from the mahout project with help of jbundler. JRuby Mahout Integration
Rails Radio Button Mystery
Adding radio buttons to a rails form always lets me look up the syntax again. I printed it down for everyone that it will not be forgotten: Rails radio button mystery
Data aggregation/charting framework for Rails
A new gem with a declarative DSL that makes reporting on Rails models a bit more pleasant. Fairly fully-featured but more of a framework-framework than a frontend one.
How To Remove A Default Scope For An Association In Rails
This tip describes bypassing a default scope for an association in Rails.
OmniAuth OAuth2 Strategy for Pushbullet
Somehow, no one has released an OmniAuth strategy for Pushbullet up to this point. This gem fixes that.
Slide Show (S9) v3.0 - Write Talks / Presentations in Text w / Markdown - Many Themes
Hello, Starting with Slide Show (S9) v3.0 all slide show/presentation templates are now Jekyll-compatible and use Liquid. Why? The idea is that your slide show template pack is “just” a Jekyll site and, thus, you can use your Liquid template skills for creating or changing slide show / presentation templates and if you use GitHub you can use the free built-in GitHub pages service for live previews, testing, and more. For some first example see: [more inside]
I18n for data in your models
With JSONB type in Postgres 9.4. Idea and a gem
An introduction to Memoization
Memoization is a technique you can use in Ruby to cache results from calculations to speed up your code.
Database driven scheduling with Clockwork and ActiveJob
An introductory tutorial on making event scheduling management more accessible and configurable for administrators through database driven admin interfaces in Rails.
Awesome Jekyll Updated - More Themes, Conferences, Screencasts, Articles, etc.
Hello, I’ve updated the Awesome Jekyll page that collects all things about the static (web)site builder in Ruby (used by GitHub pages and others). What’s News? Added Jekyll conferences, screencasts, showcases, news (e.g. Static Times, Jekyll Weekly), applications (e.g. JKAN), many more theme collections (e.g. Henry, Poole, Made Mistakes, Zen of Book Design, etc.) and many more articles. As always. Anything missing? Contributions welcome. Cheers.
Write your first Rubygems plugin
I wrote a short tutorial on how to get started with writing a small plugin for Rubygems, with a bit of a dive into Rubygems’ source code. Check it out here.
War is Over, or is it? A New Dawn for Microsoft
Yesterday was a pretty remarkable and historical day for Microsoft, I even think it might be an Era dividing moment, at least from my personal perspective. Since then I was trying to figure out a way to register this moment for posterity. [more inside]