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.
Rails Goal Tracking with Google Analytics.
A simple technique using Rails’ flash[] + the Google Analytics API to track goals (like signups) that don’t have a distinct URL of their own.
EngineY, a social networking framework in Ruby now available..
EngineY is an easy to use social network framework that is easy to customize and deploy as your own powerful and feature packed social media site. Empower users with their own blogs. Enhance collaboration with forums, groups and events. Find out who is attending your events with the built-in RSVP feature. Let your users post Twitter-like status messages. Track all the activity on your site with the live activity stream. Build a custom client to access all of your social data using the RESTful API.
ActionMailer and URL generation
Recently I had to find a clean solution for generating URL in ActionMailer templates for a quite complex rails app. Here’s the result. I’d like to receive your feedback.
ClassyFieldErrors: Rails plugin providing clean HTML/CSS handling of erroneous form fields
The developers at XING just launched a tiny Rails plugin to replace the Rails default way of using a div to highlight input fields with errors by just using a css class: http://github.com/xing/classy_field_errors. A related blog post explains the problem and solution in more detail.
Onis - Live ObjectSpace introspection for ruby
New! Useful for almost every ruby process you have - Onis
Most Common Issues Faced by a Ruby Newbie
Recently Chris Strom supplied the challenge for the second Ruby Programming Challenge For Newbies. In this blog post Chris talks about the most common “issues” faced by a Ruby Newbie, based on the Ruby solutions he received and evaluated for the challenge.
NullDB for DataMapper
Null database adapters in DataMapper for fun, speed, and isolation.
Announcing MK Ruby Users Group (ruby.mk)
If you are interested in Ruby programming language, Ruby on Rails framework or Open Source stuff in general, and you are near Skopje (Macedonia) MK Ruby Users Group is open for you.
Installing REE With The Snow Leopard SQL Server Stack
Building on my latest article about the SQL Server stack on Snow Leopard by adding Ruby Enterprise Edition to the mix. Installing REE With The Snow Leopard SQL Server Stack.
Liberate my Rails controller - make controller with current request available in the models, mailers
We made a small plugin to access current request and controller data from models, mailers etc. To use url helpers for example. More info and examples at astrails blog
Sweepy: distributed and scalable file caching expiration in Rails
Sweepy allows you to expire file-based cache (page cache and fragment cache) on Rails on multiple boxes. If you don’t want or don’t need to setup memcached, and just want to simply use Rails page and / or fragment caching, sweepy automatically handles page expiration. Sweepy scales well - Sweepy uses UDP broadcasts for cache cleaning. This way you can add as many machines as you want, and cache expiration times will remain the same. » sweepy on github
Cache Key For Collections In ActiveRecord
I’ve been working to add caching to an application and looked around for a solution to use a cache_key for lists of objects and found nothing out there. I’ve written up some details about adding a cache_key method for activerecord collections and I’ve thrown it into a simple group_cache_key gem
Get ruby-odbc running with stock ruby and unixODBC on Snow Leopard
This presented a problem - get the solution here.
2010 Fukuoka Ruby Award Competition – Enter Now to Win 1 Million Yen
The Government of Fukuoka Japan, together with the Fukuoka Ruby Award Selection Committee, is excited to announce the opening of the 2010 Fukuoka Ruby Award Competition. The competition is free to enter. The grand prize is 1 million yen (approximately $10,000). Applications may be submitted online. Completed entry forms must be received by 5:00 PM Pacific Time on November 20, 2009 to be eligible.
Try the sinatra_more gem
sinatra_more strives to be a central-hub for useful sinatra extensions such as tag helpers, form_builders, partials, and a whole lot more. I have been working with Sinatra a great deal lately and started writing and collecting various convenience extensions from project to project. Finally, this led me to release the sinatra_more onto github. Check out the README which gives a solid overview.
Riot: Protest the slow test
Riot is a fast and expressive testing framework. The syntax fundamentally cuts down on redundant code, so Riot tests are terse and expressive.
Ping your Rails app using acts_as_pingable
Rails plug-in for simply opening your Rails app to HTTP pings. Can produce pingdom.com XML. » acts_as_pingable on github
Irwi wiki plugin
Hi! I just released Irwi - wiki plugin for ROR, which allows to add working wiki in existing application in few minutes. Docs are in GitHub Wiki. Also, you can see a simple demo, it’s source code available at GitHub
A series of screencasts for Radiant CMS
presenting extensions, features or interesting techniques. Just released the second episode of Radiantcasts, which shows the installation and use of the Globalize2 Extension - an extension that allows you to translate site content in any number of languages. Helpful if you are using Radiant CMS.
Associations for your Validatable Classes
In case you’re already using Jay Fields Validatable gem, you may want to check out ValidatableAssociations. This Rails plugin and add-on to the Validatable library adds basic associations to your validatable Classes.
My latest blog post - just a bunch of interesting-ish, mostly Ruby-related links
Solving Euler Project Problem #3 using Ruby
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 Solution.
Simplify stylesheets on your Rails application
styled_objects is a Rails plugin for simplifying stylesheet management on your application. Instead of having one or more large stylesheets on your public folder, have many. Keep your CSS close to their respective templates. styled_objects will compile them into one file per page. See styled_objects on github
Ancestry 1.1.0 Released!
Hi! I just pushed Ancestry 1.1.0 to GitHub and GemCutter. The new version features easy migration from older ActiveRecord tree libraries and fast selection based on node depth.