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.
Installing Nginx with Passenger on Snow Leopard Using Macports
You can now use macports to install passenger. Link
Rails Stack on OpenSolaris 2009.06
A quick walkthrough setting up the Sun webstack+passenger and Ruby on Rails on OpenSolaris 2009.06 See it here
Deep In Rails: ActionMailer#deliver Part VI
So now we know how Rails sends emails. What can we do with that knowledge? All kinds of stuff…read more >>
ScreenCast LipsiADMIN - Autoadmin for your Rails Apps
In this screen cast we demonstrate some basic concepts how to use LipsiADMIN + ExtJS 3.1+ as a scaffold for the backend of your rails apps. See it here</a>
Remote sh console via XMPP/Jabber (GTalk)
I just pushed of gist a 25 lines of code Ruby script that allows you to interact with a remote sh session via Jabber. It’s called Jabber-SH and it’s like SSH over GTalk!
Ruby & WebSockets: TCP for the Browser
WebSockets are one of the most underappreciated innovations in HTML5 - bi-directional, fully asynchronous and data agnostic data exchange. Dev builds of Google Chrome, Firefox and Safari now all support WebSockets, which means that as developers we start taking advantage of the new architectures. A hands on look at the API, and implementation of Ruby WebSocket server and clients.
Heroku rubyflow clone deployment with search and monitoring
Screencast from a local ruby developer’s meeting demoing deployment of rubyflow clone on heroku (with search and monitoring add-ons)
New Screencast: Background Processes with Ruby
Learn how to spawn background processes using Ruby and the Process class. Here we discuss the difference between ‘wait’ and ‘detach’. Watch this screencast and more at TeachMeToCode.com.
APN on Rails needs a home
If you use, and like the apn_on_rails gem, perhaps you’d be interested in becoming it’s maintainer: http://www.metabates.com/2009/12/21/apn-on-rails-needs-a-home/
Generic Actions in Rails 3
Yehuda Katz details advanced route methods added in the newly rewritten routes DSL. Essentialy, he talks about how Django’s generic views can be ported to Rails 3. Check it out here.
A new library for performing object validations in Ruby
Here’s a new library for performing validations in Ruby. No other dependencies, includes ActiveRecord support, makes your validations easier to test.
Revamped Routes in Rails 3
I just posted a rundown on how you’d define routes in Rails 3. Check it out!
sudo gem install autotest a.k.a. one less thing to remember
A standalone autotest fork of ZenTest now if you need autotest simply install/require autotest, and if you need any other of the ZenTest features install the ZenTest without autotest.
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]