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.
[Lesson #2] Build Less, But Better Software
Do you want to help your clients or business accelerate product development and business growth? Read more
Its about Time.
If a list was compiled of useful Ruby libraries, Active Support would be close to the top. Based on the documentation alone, it is apparent that a very large amount of time went into thinking about the roles Active Support should play and the functionality it should support. From string manipulation to internationalization, Active Support seems to simply do it all. However, even a profoundly useful library like Active Support still has a few inconsistencies with everyone’s favorite subject: Time Calculation.
Who's Using Ruby (or Not), for What, and Why?
A brief survey for, and possible chat with, Rubinius developer Brian Shirai on the use of Ruby. Read more
Pagination in Volt (screencast)
Episode 15 shows how simple pagination in Volt really is.
Tips & Tricks: Gettings Random Records in Rails
Learn how to use the built in random methods in PostgreSQL and MySQL with Rails & ActiveRecord
JSON Validation by Committee
I have penned the second of two posts talking about JSON API documentation and validation with Ruby. Learn how to use the prmd and committee gems do test, document, and validate (in production, no less) the data provided to and by your API
You are using nano editor on linux?
Here are some helpful commands especially for mac users I always forget: Read more
The plugin system of Sequel and Roda
Sequel and Roda use a special kind of plugin system as a design pattern. Since this is a general pattern that anyone can apply to their gem, I thought it would be really useful to share with you how it works and why it is awesome.
Colt 0.3.0 Released
Added update credit card expiration, add new default credit card and save credit card features. Check out the Colt Gem
Dr Jekyll's Themes of the Month - August'15 Edition - Leonids, Video, Centrarium, etc
Hello, let’s welcome the August’15 Edition of the Dr. Jekyll’s Themes of the Month series that highlights ready-to-fork static site themes. The new themes include: Leonids by RenYuan Zou; Video by Max White; Centrarium by Ben Centra; Mickey by Vincent Chan; Material Design Lite (MDL) by Oscar Cortez and Planet Jekyll’s Starter (Minimal) by Gerald Bauer. Find all themes at the Dr. Jekyll’s Themes directory. Any theme missing? Add your theme! Cheers.
How can Ruby heroes write better code?
For a practical discussion, please read : Fail Early and Loudly
Lita 4.6 released
Hot on the heels of Lita 4.5, version 4.6 of Lita, the Ruby ChatOps framework, has been released. This release adds long-requested support for chat-service-specific APIs. The Slack adapter for Lita has also been updated to add support for sending Slack attachments from your bot. Read more
Stay safe while using html_safe in Rails
Don’t accidentally introduce XSS vulnerabilities to your app when using html_safe. Learn what ActiveSupport::SafeBuffer is and how you should use it. Read more
Code quality at scale
Avoid ‘the big refactor’ on big Ruby projects with incremental code cleanup. The ‘quality’ gem uses the power of continuous integration and some great community tools to keep your code quality increasing over time!
Trending Topics Using Twitter Gem
Go to our blog to learn how to implement trending topics into your Rails application using Twitter Gem.
Using RSpec with Atom
I wrote a small set of Atom snippets for RSpec, Capybara, and Factory Girl, and looked at a few other RSpec packages. Details in this post on Everyday Rails.
Single Responsability Part II: Fighting the Consensus
A slightly controversial blog post about devise, omniauth and the notions of authentication and identity
RocketConf 2015: the web in outer space
Astronauts and web developers will gather in Pakhuis De Zwijger in Amsterdam on November 12 and 13 to discuss the future of the modern web. Read more
sport.db League Quick Starter Sample - Mauritius Premier League - Create Your Own
Hello, I’ve put together a new sport.db (football.db) quick starter sample using the Mauritius Premier League to get you started creating your own leagues/cups/etc. from scratch. You can test drive the quick starter sample with a single command e.g. $ sportdb build. To start from scratch follow these six steps: Read more
Using RSpec's shared_examples_for
There’s not a lot of documentation or examples online for how to use RSpec’s shared_examples_for to avoid duplication when writing spec, so I wrote a short blog post on it.
Caveats for interrupting Ruby code
In this brief post I will highlight a problem I faced recently with Ruby while handling interrupts in multi-threaded code. Read more
Build Less, But Better Software (Lesson #1)
Do you want to help your clients or business accelerate product development and business growth? You can do that with APIs and Rails engines. Read more
ARSI: ensure delete_all & update_all is scoped
A small library that prevents you from doing delete_all/update_all without scoping by ids by accident for ActiveRecord+MySql Read more
How to use Rails ActiveJob
With Rails 4.2 came ActiveJob, a common interface to the many different queue and background workers popular in the Rails community. This article explores how it works and when it’s a good idea to take advantage of it.