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.
Atlanta Ruby User Group Presentations Posted
The Atlanta Ruby User Group Presentations have been posted to our community site…: Hank Beaver presenting Varnish Steve Eley waxing philosophic about Mongo DB
ConFoo call for speakers for the Ruby Track
ConFoo.ca has posted a call for speakers. ConFoo.ca is a bilingual (English & French) web development conference covering PHP, Python, Ruby, Web standards, security and project management. Proposals are due November 13th, 2009. Confoo.ca 2010 will take place in Montreal, Canada, from March 10th to 12th 2010.
Sunspot 0.10 released
Sunspot is a robust API for indexing and searching using the Solr search engine with a pure-Ruby interface. The new release includes support for geographical search using LocalSolr, keyword highlighting, and advanced dismax features for precision relevance. Read all about the new features.
Introducing Boson - A command/task framework for irb and the commandline
Boson is a new gem which blurs the distinction between writing ruby commands for use in irb or in a shell. It comes with a powerful option parser, ability to write commands in plain non-dsl ruby and a command manager. The intro post explains its basic features. The second post reveals its integration with Hirb to produce a toggleable Hirb view per command and a useful github library.
Radiant Globalize2 Extension
For all you Radiant CMS developers, Aissac published a new extension. Radiant Globalize2 Extension allows you to easily translate the content of your site into any number of languages. It uses the Globalize2 Rails plugin based on the I18N API. Check out the source code on github. For installation and configuration details visit the Radiant Globalize2 Extension documentation page. Also, if you need to translate Paperclipped assets, you can use Radiant Globalize2 Paperclipped Extension.
Using Jruby, Warbler & Rake to deploy Rails apps to JBoss
JRubyist Dan Tylenda-Emmons posted an article covering the tools he uses to fully automate his packaging and deployment to staging and production environments. He gives an example config/warble.rb file used in a real application, and also provides us with a lib/tasks/deploy.rake file that can be easily modified to work with any warbled app.
Another screencast from BDDCasts -
In this episode you’ll see the speccing and implementation of the list of Twitter results fetched in the previous episode. The Dashboard will show this paginated list of search results using named scopes to easily specify their order. An interesting section is the use of the “multiline step arguments” feature of Cucumber to specify the expected search results.
RailRoad - diagram generator for Models, Controllers and StateMachines
Sometimes it is necessary for me to visualize my Models and Controllers to match them against some hand drawn wireframes to see the progress and gaps. Although it’s handy to have everything visualized to see whats going on under the hood of legacy applications and more important models/schemas. I found a wounderful gem which provides this functionality using graphviz called RailRoad. [more inside]
Simple Feed Aggregator in Ruby
A simple feed aggregator skeleton code which could be extended if needed. It supports both RSS and Atom feeds.
Create UML diagrams from the command line with yUML
Create UML diagrams from the command line using the wonderful yUML service.
What's New In Edge Rails - October 2009
Some information on the progress going on with Ruby on Rails here.
ExtJS and Rails with Netzke: custom widget actions.
New tutorial on writing ExtJS/Rails reusable code with Netzke is showing how to add a context-menu item and a button linked to the same Ext.Action instance into your widget. With source code and live demo.
Easy Graph with Scruffy on Ruby [Windows]
Scruffy is a nice ruby graphing library. This tutorial shows you how to use it on Windows. I came across few problems while configuring it. This tutorial should save you some time.
Switch to PHP/ASP/JSP in 10 seconds!
…using brand new Rack middleware Karma Chameleon. It adds the “.aspx”, “.php” or any other (configurable) extension to your application’s URIs. Helps to switch the technology of your app in few seconds, ridiculously easy!
BDDCasts Searching Twitter episode is published
This screencast reveals querying Twitter for user statuses. Before adding jnunemaker’s Twitter gem, you’re presented with a general overview of the available search functionality by running a few test searches from a Ruby script. The interesting and challenging part is speccing external services, so you’ll see the best way to spec the Twitter search response.
Creating a Twitter Clone in Rails - Screencast
TeachMeToCode.com just released the next installment of ‘How to create a Twitter Clone using Ruby on Rails’. Be sure to watch the first one if you missed it. Watch these screencasts and more at TeachMeToCode.com
Rails Tricks part 2 - Mislav Will-Paginate hacks
I just wrote a second article in “Rails Tricks” series, this time focusing on hacks (one large, one small) around/using mislav-will_paginate. I hope it’s going to open a few eyes on the myriad of possibilites that mislav_will-paginate exposes thanks to its nice design and API.
Rubyists - what are your "tools of the trade"?
Today Mike Gunderloy posted about his “tools of the trade” that he uses for his Ruby and Rails development. I thought this would make an interesting post on Ruby Inside - linking to all of your similar blog posts about what kit you use. So, if you want to be featured, make a similar post on your own blog (or in comments here) and we’ll do a post in a week or two!
Ruby: stack level too deep (SystemStackError)
Unless you have endless recursion, you can change stack size and get rid of Ruby stack level too deep (SystemStackError).
Search your ActiveRecord models using a simple query language
I recently released version 2.0 of scoped search. Scoped search allows you to search your ActiveRecord-based models using a simple query language in a named scope. It uses standard SQL to perform queries, and no additional indexing software is required.
Become a Rack Star - middleware programming contest
CodeRack is a coding contest dreamed up by a group of the Ruby programmers at Lunar Logic Polska who were excited about the possibilities of Rack middleware.
On gem forking
Wherein gem forking on Gemcutter is debunked and the future of this workflow is discussed. Read up!
Announcing Caliper an easy way to get code metrics for your Ruby projects
Devver just launched Caliper, which makes getting metrics for your Ruby project simple. Give us a public git url and Caliper generates Metric_fu for your project. Add a Github post commit hook to have them generated on every commit.
Twitter realtime API client
For twitter’s JSON stream. Based on EventMachine. Adheres to twitter’s guidelines. See the usage example.