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.
My talk at RedDotRubyConf 2013: building asynchronous apis
My talk at RedDotRubyConf 2013: building asynchronous apis
New gem: hash_assertions - assert required keys, assert keys with values
I just launched hash_assertions - assert required keys, assert keys with values. Simple but neat!
Jenkins behind Apache with HTTPS – Proxy pass with SSL
If you want to know how to proxy pass Jenkins with Apache and add a SSL to it all, you should read this post.
Convert flat lists to trees
new gem 4FUN flat2tree (gem) with example usage https://github.com/mpapis/home_dotfiles/blob/master/bin/lsmod_tree
RELS Part 3: User Authentication with Ruby on Rails, RSpec and Capybara
I just launched a new tutorial about User Authentication with Ruby on Rails, RSpec and Capybara
Running Changed Tests
I just posted a new blog post showing how to use git together with rspec/minitest to run only the new and changed tests for a feature branch.
Nobody understands the GIL, Part 2
In this follow up, I actually take you down into MRI to see how the GIL is implemented, and what effect it has on your code. Read it here and look for part 3 to wrap things up next week.
XmlHasher - Fast XML to Ruby Hash converter
Fast(est) XML to Hash parser. [more inside]
FlexYear - natural language year range parser gem
Just take a year range like “1980s”, “mid-70s”, “1975-76” and turn it into a high and low year. Very useful when we’re trying to determine when a guitar was made for reverb.com and want to let users be flexible with what they enter. [more inside]
Wiselinks standalone
Wiselinks, popular alternative to Turbolinks and Pjax, got new version today. [more inside]
Forget Resque Boilerplate: Focus on your Code
I love Resque, but hate defining classes and naming queues. I wrote the resque_def gem to define classes for you, so you can get more done with less code.
Version 1.0 of cql-rb, a new Ruby driver for Cassandra, has been released
I have just released version 1.0 of a new Ruby driver for Cassandra cql-rb. It’s built to take full advantage of the new native protocol introduced in Cassandra 1.2, and supports prepared statements, authentication and request pipelining. Check out the code and examples on GitHub, or read a blog post about the release.
Please delete this post
Please delete this post!!!
Ruby and module_function
Do you know module_function? If not, it’s time to learn it!
Building Awesome Rails APIs: Part 1
We’re talking about some API tips and best practices over at the Collective Idea blog.
Puppet manifests made easy...
This is the first public release of the puppet_generator-gem. [more inside]
Updated Rails 4 and Ruby 2 dictionaries for OS X Dictionary.app
Updated dictionaries for Rails 4.0.0rc2 and Ruby 2.0 are now available for download. Enjoy!
Innovating with HTTP 2.0 Server Push
HTTP 2.0 enables the server to send multiple responses for a single client request, which opens up an entire world of new optimization opportunities!
Nobody understands the GIL, Part 1
I started writing about how MRI implements its global interpreter lock (GIL), but ended up with an introduction to thread safety in Ruby. Check it out and look for the followup about the GIL tomorrow.
Optimise your Responsive design performances in 5 minutes
We recently had to optimise the reponsive design that we are currently creating, and I’ve written about our performance approach and you can read it here.
Automatic cloud-based image improvements and effects
This blog post introduces Cloudinary’s image improvement filters and effects. With these new capabilities, you can embed better looking images in your websites and mobile apps with ease. You can also mix and match multiple improvement filters together to create “artistic” results. Ruby on Rails sample code included.
Stubbing and Mocking with RSpec
Unit tests should focus on one thing: the component you are testing. Stubbing and Mocking in RSpec will get you there. Learn more in this screencast! [more inside]
gist-dep - New tool to easily share small bits of code between projects/developers
gist-dep is a command line tool that helps you share code between projects and developers. Written in Ruby but useful on any project. Common needs include JavaScript behavior and polyfills, Ruby monkey-patches and configuration code, etc. Whenever you have a bit of code you often use but it is too small/trivial to be managed as a full library gist-dep is an excellent alternative. Code snippets are stored on Github’s Gist system. The tool provides a quick way to add, update (both directions) and remove gists in a project.
Introducing Invoker - Manage processes in development envionment
We just launched invoker. A gem to manage processes. Do checkout.