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.
Omega - v0.7.2 release
We are pleased to announce the v0.7.2 release of the Omega Simulation Framework. The release has been cut and tagged on github and deployed to the omegaverse.info Omegaverse node. [more inside]
TDDing Pat Shaughnessy's Ask Don't Tell
Prefer The Declarative Over The Imperative [more inside]
Timecop Gem Explained
Post on how Timecop works and how it extends Ruby classes.
Copy-pasteable minitest re-run commands
gem install minitest-rerun require ‘minitest/rerun’
How to crash a lot of Rails apps - Invalid Byte sequence in UTF8
I wrote a short blog post on how to crash many Rails/Rack based apps. Not a big deal and not a security issue, but still worth patching: Rack: ArgumentError: invalid byte sequence in UTF-8
Brace Yourselves, RubyConf Portugal is coming!
We have an extremely exciting announcement to make: Brace Yourselves, RubyConf Portugal is coming!. Check it out.
Sidekiq 3.0 now available
If you run background jobs, good news! Sidekiq 3.0 is now available.
Build a Lotus application today
Most of the Lotus frameworks was released in the past months. The main Lotus gem isn’t out yet. [more inside]
zihin acan dualar
Hafıza duaları zihin acan dualar hafıza gelistiren ve zihin acan dualar
RubyMotion Pairing #1 - Fixing Pods, Target/Action, UITableViews, and more with Murtuza Kutub
The MotionInMotion RubyMotion pairing sessions are focused on doing one-on-one training with developers who are new to RubyMotion, and recording them so other newcomers can learn from it. In this session we work through an error when working with cocoapods due to Command Line Tools not being setup, and then go through some of the basic concepts of iOS development like views, target-action, table views, and delegates & data sources. If you’re not interested in the part at the beginning where we’re fixing the error in cocoapods, skip ahead to 22m 20s in. [more inside]
TurboLinks: the Best Thing You Won't Ever Use in Rails 4
On the OnLive engineering blog: TurboLinks: the Best Thing You Won’t Ever Use in Rails 4.
Structuring CSS On The Filesystem
Great article by Michael Guterl Structuring CSS On The Filesystem good article for anybody who works with CSS, but especially applicable to Rails developers.
CocoaConf DC: 7 top sessions to look forward to
If you’re headed to CocoaConf this weekend, but can’t decide which sessions to see, check out these 7 sessions picked by @tvon.
A lightweight gem for swapping out text with a fully-compliant Rails form in one click using JQuery.
I just released a gem called abracadabra and it makes injecting forms with text boxes super easy.
Ruby SuperModule Comes To The Rescue!!
Tired of Ruby’s modules not allowing you to mix in class methods easily? Tired of writing complex code and using complex libraries like ActiveSupport::Concern to accomplish that goal? [more inside]
Efficiently Getting Random Records in Rails Active Record (with a benchmarking example)
Many applications require the retrieval of random database records (for instance to highlight a random product in an online store). There are several ways to accomplish this task, but efficiency varies widely and becomes more pronounced as your database grows in size. This blog post demonstrates two common approaches when using Rails Active Record and MySQL, and benchmarks both (using the Ruby Benchmark module) to demonstrate their efficiency.
How to tune a guitar with Ruby
Check out my blog post How to tune a guitar with Ruby. [more inside]
The Build a Ruby Gem Ebook is live!
The Build a Ruby Gem Ebook and Screencast packages are now for sale. Hope you enjoy!
Thread Safety with Ruby
Moore’s law is over. Modern computation is exploited by running processes on multiple cores. [more inside]
Running Thin in a Thread to serve static files (or how to seed carrierwave images)
Running Thin in a Thread to serve static files (or how to seed carrierwave images) - code snippits and words describing how to upload images using carrierwave from the commandline.
RubyConf India 2014 – The Goa Edition
The 5th edition of the conference was a roaring success. Read about it here.