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 create local copy of Rails API doc and Guides
There are many occasions, when you’ve wished to have an offline version of the API document. For instance when you face connectivity problems or network issues and you just can’t get online, or even while traveling in airplanes, as we know, internet accessibility is not always possible. In this post I’m showing you how to generate your own copy of Rails API doc and Guides.
Ruby On REST 3: One Model, Multiple Representations!
In the 3rd post of the Ruby on REST series we learn a bit more about resources and why and how one particular model can be represented in multiple contexts.
New release of rglpk - the ruby linear programming library
Have you ever needed to solve a linear program in your ruby app? Well, if you have, you know that rglpk (pronounced Wriggle-Pick) allows you to use the power of the GNU Linear Programming Kit (glpk) from within ruby. The latest version fixes some memory leaks that hindered performance.
method_proxy, a new AOP style gem for deep debugging
A friend just released method_proxy, a little gem that allows you to tap into method calls for deep code inspection. Use it for AOP style meta-programming, or to record method calls in order to play them back later in a regression test. Enjoy!
IProcess is born
IProcess, short for Inter Process Communication(IPC) Process, is a Domain Specific Language(DSL) that can be used to share Ruby objects between processes on UNIX-like operating systems. The README covers the basics, and there is the API documentation for everything else. [more inside]
Geo-Rails part 7 posted
I just posted the rather awkwardly-named Geo-Rails part 7: Geometry vs. Geography, or, How I Learned To Stop Worrying And Love Projections, the latest installment in my ongoing series on geospatial programming using Ruby and Rails. It is an opinionated look at the use of geometry vs. geography columns in PostGIS, and in general gives some guidelines on choosing a coordinate system for your spatial database.
rbenv-prompt
If you use rbenv (with our without gemsets) you can use this plugin to get the current Ruby version and gemset in your prompt. Hope this is useful!
Cells Plans for 2012 and cells-filters Release.
Check out what stuff we’re planning for 2012 on the Cells project (Rails decoupling, alternate Tilt rendering engine, …) and learn about the new cells-filters gem that brings together callbacks and state-args.
Structuring JS assets in Rails 3.1
Gem ‘styx’ will help you to structure your JS and pass data from Ruby to JS (and backwards).
Updated Guide for setting up a killer Rails Dev Environment on Ubuntu 11.10
I just released an updated guide for getting a rails development environment configured on Ubuntu 11.10 for Ruby on Rails development, including RVM, and configuring postgresql for your app development locally, plus some easy instructions for setting up multiple editors for rails development. Who needs a Mac?
DRYing if @current_user.nil?
Just published this an example of how we could DRY and make things simpler using javascript bind
Radiant CMS 1.0 RC4 is out
Radiant is alive again with release candidate 4 for version 1.0. And you can now run tests for your extensions on travis ci.
Reload anything with Ak47
Ever wanted to reload any kind of command-line app? using Ak47, you can reload any arbitrary command. To use it simply “gem install ak47”, then, “ak47 [your command]”. If any change occurs in your working directory, it will stop and start your command. [more inside]
Kicking Ass Together: How to improve coding skills as a group
In this blog post, I’ve attempted to distill a year and a half of lessons learned about how to build good code study groups based on my experiences at Mendicant University.
redis-dump 0.3 - Backup and restore your Redis data with JSON
redis-dump is a CLI tool and library for backing up and restoring redis databases via JSON dumps. Data is output to a plain-text file with one JSON object per line and all redis datatypes are supported (strings, hashes, sets, sorted sets, and lists).
WashOut 0.2.4
We’ve just released wash_out 0.2.4. It is supposed to fix a lot of problems with Java (or any other strict SOAP clients). Upgrade is strongly encouraged if you are using it. If you had no success trying it before, give it another chance.
DJ-Monitor to see what Delayed Job is up to
I just created DJ-Monitor and wrote a short blog post about it. This is my very first post here, and my first gem release, so be gentle (^-^)
My Summer of (Open) Source
I was able to work full time on open source during the summer and speak at many a conference. Check out what I spent my time on over at the Engine Yard blog.
Quickly discover which versions of rails all your apps are running
I just released Decommission, a command line tool to help you discover which versions of rails all your apps are running on. The code is on github too: https://github.com/andrew/decommission
Hosting your own gem server, simply
A blog post I wrote about my experience in setting up and hosting an in-house gem server.
Hatetepe: the HTTP Toolkit
Yesterday I released v0.4.0 of Hatetepe, an EventMachine and Fiber based toolkit for building HTTP servers, clients and proxies. Feature highlights: streaming requests and responses, keep-alive, proxying requests to another server as well as a unique way of dealing with HTTP message bodies!
Google Web Toolkit: GWT, Closure, NaCl, Dart & JS
Google officially supports JavaScript, GWT, Closure, NaCl and Dart: how do these project play together, why the competition? What’s the one true “Google” way to build a modern web application in 2012?
Capybara, Cucumber and How the Cookie Crumbles
If you’ve ever run into a brick wall trying to manage cookies within your Cucumber suite, check out Collective Idea’s latest blog post for a handy workaround.
LincsPiper: Community site by 2 mates with Aspergers syndrome
Here’s what a “do or dare” can result in. 2 teenagers I met a year ago and that have been an inspiration to me in return, have learned some Ruby, Rails and HTML5 and CSS and created this site for Lincolnshire people as a community website. Tutorial references and guides from RubyFlow, RubyInside, Rails guides, and Beginning Ruby 2nd edition - found somewhere online, among many other websites and pdf guides. Thank you Rubyists.
Never create Ruby strings longer than 23 characters!
Today I wrote about why you should Never create Ruby strings longer than 23 characters … :).