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.
Euruko 2011 – Dates and Call for Proposals
The Euruko 2011 - the european ruby conference - will be held between the 28th and 29th of May 2011 in Berlin / Germany. The venue is an old and very cool looking cinema (Kino International). We also just released our call for proposals are waiting for great submissions! Visit our blog for more information: http://euruko2011.org
track_history
track_history is a performant and easy way to keep trails of changes in your ActiveRecord models. Check it out!
Full text search in in Rails with Sunspot and Solr
If you’re looking for a better way to search your application’s text and knows that relational databases usually can’t handle the job, Solr and Sunspot are here to help you. In this simple tutorial you’ll learn how to use Solr and Sunspot to add real world full text search to your Rails applications.
First aid with Redis :)
I just released very simple library which helps you to play with Redis in your libs and applications. It contains Rails 3 railtie and generators too. Check out my Redis Aid rubygem.
My Selenium with Ruby blogcast
I am starting a blogcast regarding Selenium and other opensource automation tools. I only have one post up right now. It’s an instructional blogcast dealing with organizing selenium test scripts using Ruby methods. You can expect three blogcasts a week to start. I’ll have another one up this evening. QA OpenSource
Gmail rubygem v0.4.0 just released!
I just released new version of Gmail rubygem. Now it provides few new search filters and supports XOAuth authentication!
Sencha Touch, Ruby on Rails components with Netzke (tutorial and demo)
The first part of the tutorial shows how to build a simple data-driven component for Sencha Touch with Rails and Netzke Core, and then use it in a composite component, thus demonstrating the power of modular approach to mobile web applications.
A Tour Of The FactoryGirl Gem
Hey all. Here’s another code reading exercise involving the FactoryGirl gem. This time it’s a little more object oriented.
Sample web site using Rails 3, HAML/SASS, Amazon S3 + Heroku.
I just launched http://RailsJazz.com and wanna share with you link to my site and project sources, maybe you will them useful. Let me know if you have any questions. Best wishes, Igor
Truncate your HTML properly
I just launched HTML truncator, a gem to truncate HTML strings properly. Explanations here.
Ref gem released
I just launched the ref gem which provides a consistent, working interface for weak references across MRI, YARV, Jruby, Runinius, and IronRuby.
What’s Going on with the Ruby AMQP Gem?
I blogged about the latest progress on the Ruby AMQP Gem which we now maintain. You can expect support for AMQP 0.9.1 in the near future, as well as a new test suite and a lot of bug fixes. So stay tuned! [more inside]
Ruby on Ales 2011
Hey everyone! I’m pleased to announce the 2011 Ruby on Ales conference in Bend, Oregon - Ruby on Ales 2011. It’s a two-day, single track conference inspired by Ruby, microbrews, and shredding. Listen to engaging speakers, compete in a one-day rumble, and slake your thirst on local microbrews. Reserve a seat and plan to ski, board, or tube when you attend the first annual Ruby on Ales Conference in Bend, Oregon.
A More Sane Way to Build Mobile-ready Rails Apps
This is a quick tutorial on how to create a mobile version of your Rails app without creating a custom mobile-formatted version of every single layout and template.
gemedit 1.0 released
gemedit easily opens any installed gem on your system in your favorite editor. It installs as a gem command, so to view the source for gemedit itself just run gem edit gemedit
Basic RSpec for Rails Views Part 2
Here’s the second part.
Rawler 0.0.2 Has Been Released
Rawler is a ruby library that crawls your website and reports the http status code of all your links. Announcement.
Gem Dependencies
This is a quick tip on how to figure out what the dependencies are for a given gem easily.
Getting to Know the Ruby Standard Library - WeakRef
It’s time for another look at ruby’s standard library. This time we learn about the uses and implementation of ruby’s WeakRef. If you find yourself tracking down memory leaks, this might just be what you’re looking for.
Defining Singleton Methods Using Blocks
There are some potential gotchas when using instance_eval with a block to define methods (metaprogramming). I wrote a post exploring the details.
Basic RSpec for Rails Views
Here’s some introductory material for using RSpec to test your views.
RVM + Rails 3 + nginx + Phusion Passenger
Recently, I have been dabbling in the Ruby/Rails world for the first time, and as a newcomer there’s lots of new information from many different sources that I thought I would put together for other newbies. After much research and head scratching this is the Rails stack that I’ve come up with, minus the database, that will be next. I am hopeful this setup will be a rock solid solution, and from what I’ve Googled around it at least appears to consist of proven frameworks and technologies. [more inside]
New release of Cartographer supports Google Maps v3, Rails 3 and large number of markers
Cartographer is a google maps api wrapper which was originally written in 2005 and supported google api v2. New release of cartographer allows legacy code to make use of Google Maps v3 by just setting one environment constant. Go play with it here : Cartographer
What We Learned Upgrading Harvest to Rails 3
100K+ lines of code, 32 plugins, and 82 gem dependencies later. Read the post.
How to Monitor Your Rails/Passenger App with Munin
I actually wrote this a while ago (before I knew about RubyFlow), and was reminded about it yesterday by Miso’s post on using Munin to monitor Varnish. Anyway, thought the RF community might get some use out of it. How to Monitor Your Rails/Passenger App with Munin