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.
Publish a static site on Heroku in two lines
Marshall Huss shows you how to publish a static web site on Heroku in only two lines of code . http://mwhuss.com/2009/12/13/static-sites-on-heroku-in-two-lines
Why I think Mongo is to Databases what Rails was to Frameworks
John Nunemaker writes about using MongoDB for their new Harmony management app.
A Ruby Library for Analyzing Baseball Statistics from MLB
A Ruby API for using the MLB Gameday statistics data. Easily get all sorts of deep baseball statistics about the current or past seasons using this library. Reads data from the same data source used by MLB.com’s Gameday application. The library includes many tests that demonstrate all sorts of stats that you can grab and do stuff with. http://github.com/timothyf/gameday_api
New Screencast: Writing CSS with LESS - Part 2
In this screencast we’ll cover using variables, mixins and operations with LESS while building the header for the ‘Flitter’ front end. Watch this screencast and more at TeachMeToCode.com
Updated RubyStack and three new RoR Application Stacks
We are glad to announce a new version of RubyStack and three new awesome Ruby on Rails Application Stacks: Spree, Radiant and Typo. Updated RubyStack is mostly a bug-fixing release that includes the new Rails 2.3.5, Subversion Ruby bindings, updated Subversion 1.6.6, Ruby 1.8.7-p174 for Windows and many others. You can download it now as native installers for Windows, Linux and OS X, as virtual appliances and Amazon Machine Images. We welcome your feedback about which apps we should be packaging next and which features we should add.
Friendly: NoSQL With MySQL in Ruby
James Golick and Jonathan Palardy just released Friendly, a Ruby ORM based on the ideas FriendFeed use for schema-less data (less migration pain) in MySQL with write-through and read-through caching baked right in.
Sometimes all you need is an extra slice
Read how Four Bean Soup used NewRelic to evaluate page load times and add a dedicated mySQL slice to improve page load times to an average of 80-90ms.
Maglevity - A Blog About MagLev
Maglevity is a blog by Peter McLain (a MagLev developer) about the MagLev Ruby implementation.
Subdomains and sessions to the rescue!
Carlos from PlataformaTec talks about subdomains, sessions and how to make them work in a Rails app, in development and production!
ActiveRecord statistics v0.1.1
This is an ActiveRecord plugin that makes it easier to do reporting. The latest version includes several new features, the most important of which is support for caching! Check it out here.
Create temporary ActiveRecord models with Temping
Temping allows for the creation of temporary table-backed ActiveRecord models for use in tests. This is useful when writing ActiveRecord-extending plugins or for testing modules separate from their concrete implementations. The syntax for creating a model allows for any method call that can occur in a standard ActiveRecord::Base Model: [more inside]
Symbolic math in pure ruby
http://github.com/brainopia/symbolic - without any dependencies, can simplify complex expressions.
Guide the future of Radiant CMS
A new version of Radiant CMS is coming. Guide it’s future and request new features or fixes.
Transform your Jekyll pages into Rack application
Want to put your Jekyll pages on Heroku? Want to run your jekyll pages with rackup, shotgun, unicorn? Here’s solution: Rack::Jekyll
Your Pages Will Load Faster With Rails!
Yehuda Katz posted this brief piece on some of the things Rails does (by default) to make your pages load faster.
Omniture Client
is a gem that integrates Omniture SiteCatalyst into your web application. It works with Rails, Sinatra or any other ruby web framework. It allows you to easily and unobtrusively set up custom tracking at the controller level. To find out more click here.
New Screencast: Writing CSS with LESS - Part 1
In this screencast we’ll cover the basics of setting up a LESS file to compile into CSS as we provide an HTML front end to Flitter, a Ruby on Rails Twitter clone. Watch this screencast and more at TeachMeToCode.com
Deep In Rails: ActionMailer#deliver Part V
So now we have our mail object. Let’s send it. For the sending of the message, we need to go back to the beginning … read more »
Rails Application Health Monitor gem
The health monitor gem allows you to monitor your rails application through a single controller action. In addition to built in database and server environment checks, health monitor allows you to quickly add your customized health checks to the mix.
New Screencast: Bash Command Line Editing
This may not be completely ruby related, but it’s in the same family. Tim Harper of Role Requirement fame presents a 13 minute tour of some of his favorite bash features that he uses on a daily basis. Watch the screencast plus more ruby-related screencasts at TeachMeToCode.com
“simple-useragent” gem - cleaner browser specific CSS targeting
“simple-useragent” gem - provides the ability to for cleaner browser specific CSS targeting*. For example, instead of the targeting IE7 with a CSS hack such as: *:first-child+html #content {height: 500px;} /* IE7 */ - you can now do this: .ie7 #content {height: 500px;}
Ruby Manor talks
This year’s Ruby Manor conference was excellent. If you missed it you can read all about it: http://effectif.com/ruby/manor.
What are your top company blogs?
I’ve shared list of my favourite company blogs, because I think it’s a great source of knowledge and down to earth solutions. What are your picks in Ruby, Javascript & CSS category?
Correlating documents in CouchDB
Correlate is an experiment in expressing relationships between documents in CouchDB using CouchRest. It adopts some principles from the way the web loosely expresses relationships and mixes it cleanly into the JSON documents saved in couch.
JRuby app configuration feat. Yaml and JVM-Parameters
Ambience - Specify a default (development) configuration in a Yaml file and override its properties via JVM-Parameters for production.