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.
Can You Write the Fastest and/or Shortest Ruby Code?
therubygame, a good site to learn some ruby trick. You can participate to test your skill or just watch other peoples code and learn some new trick. The task this week, Roman numerals. What are they good IV?.
New RubyStack upgraded to Rails 3.2.0
We have just released a new version of BitNami Rubystack that supports Rails 3.2.0. BitNami RubyStack is an easy one-click installer for Windows, OS X and Linux. It is self-contained and independent so you can install it without modifying your system. You can also download Virtual Appliances or run the Cloud Images in Amazon AWS. Read more
Setting the Database Free with ActiveRecord's Connection API
I posted an article on the ActiveRecord Connection API, the low-level API that I’ve been using more and more to interact with the database’s advanced features.
Ruby driver released for Factual's data platform
Factual has released an open source officially supported Ruby driver for their data platform. It supports all the main features of their growing data ecosystem, including geolocation queries against their curated Places data.
Preventing "Double Validations"
Have you ever needed multiple validations on one field (I bet you did!) but didn’t like multiple error messages showing up at the same time? Read my blog post to see how you can prevent it.
Resque with EventMachine
If you have to process a large amount of external http requests bound by database access, maybe the em-resque gem we’ve just created could be useful for you. You can get more information in related article about it.
Seeding different Rails environments
Here’s a little Rails tip for splitting up seed data for various environments.
Testing Rails Engines with RSpec
Steve Anderson just posted some notes on setting up a new Rails Engine with RSpec from his lightning talk at Ruby North East last night.
Programming for the Web With Ruby - Another free course.
500 participants have already signed up for this, the first round of the FREE Online Course: Programming for the Web with Ruby It has gotten the attention of some people we look up to, like Antonio Cangiano and Matt Almonetti and Steve Klabnik, among others. A 10 day course, with the first 4 days already open, awaiting the opening day. We had to open those days, because our participants are just too excited, and needed to have something while we await the start date!
RefineryCMS and Rails 3.2
A follow-up to my article on deploying a Rails 3.1.3 RefineryCMS app. Updated to account for Rails 3.2 and the new changes to RefineryCMS edge.
Build Secure Applications with ITTIA DB SQL
ITTIA DB SQL now offers new security and authentication features that provide flexible data safety techniques for mission-critical application developers. <a href=“http://www.ittia.com/news/press/2012/jan/secure-database-communications-and-storage”>Using these comprehensive features</a>, software developers can achieve the greatest level of data security in embedded applications by encrypting both network communications and storage media.
The Right Way To Code DCI in Ruby
There’s been a bit of misrepresentation of DCI in recent articles. I try to amend that by describing The Right Way To Code DCI in Ruby. I would love to hear feedback.
Arlington Ruby's first Unconference February 4
Arlington Ruby is a group that’s less than a year old but we’re growing strong and putting together our first unconference. This is a FREE event, just contact us for a coupon code:
Faster controller specs with sorcery
I just published faster controller specs with sorcery. Check it out if you’re using RSpec and sorcery in your Rails apps.
Keep your peanut butter out of my chocolate.
The view layer in web app frameworks is broken, and here’s why.
Why Every Ruby Developer Should Learn Smalltalk
No matter what kind of programming you are doing these days you probably heard a lot about Smalltalk. And there is a reason for that. Its influence on what we are doing and using right now is hard to overestimate. Refactoring, XP, TDD, many VM technologies came from the Smalltalk community. more
tconsole: Testing console for Rails
I just launched tconsole, a testing console for Rails with mintiest. It speeds up test performance by preloading your Rails environment (similar to how Spork does), but also helps out with testing workflow by providing a pretty simple syntax for testing single test files or even specific tests. Read more
Typed Fields in Ruby
One of a few things I missed when I switched from ActiveRecord to ActiveModel is all type conversions AR takes care of. You just pass a bunch of strings and it knows what to do with them. TypedFields gem does similar kind if stuff but without tying it to ActiveRecord. More
ClientSideValidations 3.2.0 is going modular
An explanation of the plan going forward with the soon to be released 3.2.0 version of ClientSideValidations.
systemd socket activation and Ruby
Example of using systemd socket activation in your ruby server.
Backing up with Backup
It seems many Rubyists aren’t familiar with the Backup gem - so I’ve written up a blog post about how I’ve used it and patched it.
Slop version 3 first release candidate (Simple Lightweight Option Parsing)
I have just pushed Slop version 3.0.0-pre1. Slop is a simple to use command line option parser (yep, another one!). It’s lightweight and has an easy to remember API. The v3 branch can be found at slop/v3. Although the README needs some work, I would love some feedback on the API changes and design/usability.
docs_on_kindle turns web documentation into Kindle ebooks
is a Ruby framework for turning web documentation into attractively formatted and easy-to-navigate Kindle ebooks. The first ebook to come out of this project is for the documentation for Heroku. You can download it at the github page. Contributors are needed to write Kindle ebook recipes for the documentation of other services, APIs, and tools.
Rails & Spine.JS Series
I have just published the first 3 parts of a ongoing series of my experiences using Rails and Spine.JS for a complete rewrite of a personal project: Using The CoffeeScript Source, Jasmine Testing Part 1, and Jasmine Testing Part 2