RubyFlow

Home   Post Item   Sign Up   Log In   Twitter   RSS Feed  
 
Ruby Community Link Blog
March 13, 2010
I just released jruby-prof 0.1, a ruby-prof style profiler for JRuby. Come test it out and tell me where it breaks.
March 12, 2010
Ryan Smith presents to the Kansas City Ruby Users Group on Heroku: why it is wonderful for deploying Ruby on Rails applications, how to set up a new application and deploy it to Heroku in minutes, and how to use Heroku add-ons to support search.
March 11, 2010
This post explains that the latest hirb works with couch, mongo, riak or any databases supported by sequel or datamapper. Hirb has essentially turned irb into a database-agnostic database shell.
There's a new screencast about Gem Bundler on teachmetocode.com. Check it out!
March 10, 2010
The guys at PlataformaTec just released a new tool called show_for that helps you to DRY your code and markup whenever showing your objects (aka in your "show" views). Check out the blog post here.
The new 'bitfields' Rails plugin and gem allows simple bitfield managements for ActiveRecord and others, produces fast(indexable) sql for query and bit-setting.
The APN (Apple Push Notifications) on Rails plugin has moved to a new home.
March 09, 2010
Very simple sinatra app for testing your regular expressions.
New post by Evan Phoenix!
Lots of people love using named scopes in Rails 2. However, in Rails 3 they're not only more or less obsolete but can also hinder productiveness in teams by being update blockers. Read about the reasons and alternatives in the railway blog.
A pragmatic approach discussing how to easily fit in a team and keep code flowing every day.
In my previous post on boolean search, we wrote an efficient list (array) intersection function. But, to be honest, I wasn’t very happy with it. Considering the fact that we were using Ruby, it just wasn’t very Ruby-like. So, this time I am going to try and show how that function can be re-written to make it more Ruby-ish and to also be tighter and easier to understand.
LightMongo is a lightweight Mongo object persistence layer for Ruby which makes use of Mongo's features rather than trying to emulate ActiveRecord. It's an interesting alternative to the already popular and somewhat awesome MongoMapper.
March 07, 2010
Parallel tests now suppots any kind of test-suite(Test/RSpec/Cucumber), speeds up e.g. action_pack test-suite by 200%. Finally a good excuse for buying Dual/Quad-Core. Speedup those tests, go parallel!
Some time ago I released sinatra-pages, a very practical Sinatra extension. Now I've used it in order to create a website for social activism and I'd like to show you how I did it. Please check it out!
I just upgraded bullet gem to version 2.0 beta, which supports rails3 beta. Bullet gem helps you to kill N+1 queries and unused eager loading.
March 06, 2010
Ambience version 0.2.0 now works for every Ruby-app and returns a Hashie::Mash.
A recap of what happened on your community RubyGem host last month including plenty of stats and information about latest features and fixes.
March 05, 2010
For Inspectinator (a sinatra microapp), I needed a database-less authentication solution that was as lightweight as possible, but with a reasonable amount of security and maintainability. I came up with something that suits this purpose well, and I'm sharing it in case anyone is looking for something similar. I call it EasyAuth. Here ya go
I just launched seo_checker, which checks your website if it is seo. It mainly checks the url, title and descripion of web page according to the sitemap.
A round up of some of the best sites created with Ruby on Rails.
A new generation Ruby/GSL wrapper that strives for code simplicity while retaining acceptable performance. Other GSL wrappers are either utterly complicated (lots of C code) or poorly documented. Ruby/GSL-ng uses Ruby/FFI and little bits of C code to achieve a simple implementation that integrates neatly with Ruby's standard classes and follows most of its conventions. Source is located on GitHub and gems are periodically released to Gemcutter. Check gem details for links, etc.
March 04, 2010
Sunspot 1.0 ships with Solr 1.4 and supports several of its new features, including multiselect faceting and trie range queries. It also comes with built-in support for multithreaded environments, Solr replication, and Solr sharding.
A new version of Boliver T. Shagnasty's dicks gem was released today. For those who don't know, dicks is a "Brutish way to print out a bunch of ascii dongs". Critical stuff here.
Seeing as it is my birthday, I'll go ahead and make a second release today. This one is for QED a test framework using literate programming techniques. QED make test-driven functional testing as easy eating pudding pie. This new release utilizes Tilt to convert documents to HTML which are then processed by the test runner, allowing QED to support many new markup formats. And, yes, we eat our own dog food pie. Check it out.
Just pushed a new version of Stash, a Hash with indifferent key access. All Stash keys are stored as strings so they can be garbage collected. Stash is also useful if you need a custom Hash-a-like object with special key restraints. Just override the #convert_key method in your subclass.
In this episode of the Rails Coach Podcast, we discuss why your application needs tests, why developers and QA both have responsibility for testing, and what you should be testing. Don't forget to subscribe to the podcast.
Baseball Statz is a Rails app hosted on Heroku that uses the Ruby powered Gameday API which provides live MLB stats. View all the stats for today's games here.
March 03, 2010
In this episode I discuss the value that developers gain and add by understanding business and how their employer or client makes their money.
Here's why and how we use MySQL and MongoDB in one of our applications thanks to the awesomeness of DataMapper
The Ruby Midwest Conference has opened its Call for Speakers. Come share your excitement, experience, and expertise with fellow Rubyists in the Midwest! We're pleased to announce that Yehuda Katz is scheduled to keynote this two day, single track conference held in Kansas City, MO on July 16-17, 2010. Sign up for email announcements on the website or follow us on Twitter to keep up with our latest news.
We have a rails app in development that will send a lot of email so I wanted to setup a way to test that it was being delivered. In my integration tests I trigger an action that delivers email and then check my Gmail inbox for the email in question.
March 02, 2010
I just launched Peeping Tom, a ruby gem that helps monitor your webapps.
MongoHQ have launched - with pricing options! The results, as MongoMapper author John Nunemaker tweeted, were surprising. Here are my thoughts on MongoHQ.
Announcing ruby-standard.org in hopes of fostering discussion of the Ruby ISO standardization effort.
March 01, 2010
Faye is a simple-to-use publish/subscribe messaging library that implements the Bayeux protocol for Ruby and Node.js. The latest release adds support for server-side clients, so now your backend application can send messages out to client browsers.
Where to start and how to learn Vim for Rails Development by referencing some books/screencasts.
EngineY is an open source project that provides a complete social networking framework that can be run stand alone as a social network similar to a Ning social network, or it can be integrated with an existing website to provide just the social capabilities. It is a project that I have been developing over the past year or so. In this post, I want to talk about another way you can use EngineY, not as an application or framework that you would integrate into your code, but as a server that can provide all of the social features for your existing web applications... (READ MORE)
There is no reason why we can't have a schema-free MySQL engine to compete with the NoSQL solutions. A look at what "schema-free" and "document-oriented" actually means, and the ruby code to make it work.
I am quite sure that if you are a ruby developer you have heard that Rails 3 beta is now out. Here is a quick run through on installing it.
Read Full Article
An example app of gettext on rails 3.0. Got another ruby/rails gem you need to get upgraded to 3.0? post it on Next Sprocket!
If you're a Shoulda user (a begginer or intermediate), you might be interested in a tutorial on writing custom Shoulda macros, i.e. how easy it is to create your own version of should_have_many etc.
Configr aims to provide a clean interface for configuring and reading a set of configuration values. The idea evolved from using a standard hash as a configuration store into a more elegant way to declare and read values from within a hash. Check out the blog post.
February 28, 2010
Slugs are bad kids. I know rails 2.3 is obsolete now that 3.0 is on the cards ;-) but slugs_are_bad is a plugin that allows you to create slug-less url's for your rails app without having to make too many changes to your code. I created a quick blog post to explain the plugin here.
For anyone tired of managing translations in YAML files, Rails 3's I18n ActiveRecord backend is easy to setup and use.
February 27, 2010
One thing about java that's pretty useful is it's regulated interfaces. This is a simple proof-of-concept of that pattern implemented in Ruby.
Frank lets you build static sites super fast. It uses Tilt, so it comes with support for Haml & Sass, LESS, Builder, ERB, Liquid, Mustache, & CoffeeScript. Frank also has a helpers for lorem text and generating placeholder images.
I just sleepily wrote mongrations, a Rails plugin that gives you migrations for MongoMapper.
Geoffrey Grosenbach describes how he built a blog that supports per-post styles using Sinatra, Haml, and more.
February 26, 2010
If you got gems lying around that still use bundler 0.8, try this without rebuilding/reinstalling the lying gems.