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.
Secure mysql in 10 minutes
The second in a series of articles on securing services on linux, Secure a MySQL server in 10 minutes.
AxeML - an SXML-like library for contructing Nokogiri documents
AxeML provides a literal notation for Nokogiri XML documents similar to that of Scheme’s SXML and thus is an alternative to Builder::XmlMarkup and the like.
Iris Data Set Visualized using R through Sinatra in < 100 LOC
The statistics community has some well known data sets that are used to demonstrate and test visualization and data mining processes. This post demonstrates a web app written in Sinatra that interacts with RServe. Total lines of code - less than 100 lines excluding comments.
Using comma as decimal separator
A simple tutorial about how to use comma as a decimal separator.
Secure Memcache 2 in minutes
Using memcached? Did you see the recent security news? Learn how to secure memcached in two minutes.
CoffeeScript for Ruby Bros
David Eisinger from Viget Labs blogs about what CoffeeScript has to offer to Ruby Programmers.
Use DB constraints in rails
How using constraints with your rails app makes debugging easier and gets developers up to speed faster.
Making Rails 3 RC, MongoMapper, and Devise play nice...for now
A few days ago, I blogged how to get Rails 3 RC, MongoMapper, and Devise up and running. I thought others might find this useful.
OAuth Disco – No fluff, just code
I just wrote blog post for people who are new to OAuth and would like to see it in action (instead of looking at pages of documentation).
Get your Ruby code sweet with Zucker
Zucker is a small gem that adds syntactical sugar to Ruby :) [more inside]
Five quick steps to set up RVM with rails 2 and rails3
You can read it here! It covers installing RVM, installing ruby inside your rvm, setting up rvm to use your specific ruby version, installing rails 2 and rails 3 RC inside different gemsets and switching between different rails versions.
Panmind at Ruby Social Club Milan
On July 22nd, 2010 I presented open source Rails plugins spinned off from Panmind’s codebase (with full commit history) at the Ruby social club in Milan (hosted by Mikamai).
Make Ack look into haml files too
If you’re using Ack (the fancy grep), you won’t be able to find anything in your haml views unless you use this tip.
Deploying a sub folder with capistrano
How to add a custom capistrano recipe to deploy a sub folder of a git repo.
Nailgun using ruby
Nailgun is used to preload JVM so no need to load JVM on executing java.Since many ruby/rails application/plugin uses java library.To improve performance of application we can use nailgun. More info you can find here.
Make cookies more secure
Lean how to make your cookies and sessions more secure with some basic tips :
Ruby: On The Perl Origins Of “&&” And “||” Versus “and” And “or”.
Notes on the reasoning behind the Perl operators for Ruby programmers not versed in Perl. In response to Avdi Grimm’s post.
3D OSX Desktop Applications With Ruby-Processing
A two-part screencast series demonstrating two different 3D desktop applications using ruby-processing on JRuby. Source code by Preston Lee available on his GitHub account: Starfield.app and Twiverse.app.
Rails 3 Internals: Railtie & Creating Plugins
Rails 3 release is on the horizon, and Railtie is what ties all the new modules together. A look at how it works, and how it enables us to build super simple and easy plugins for Rails 3!
Notes from "PostgreSQL as a secret weapon for Rails apps"
Here are some notes from a talk at PGCon 2010 on “PostgreSQL as a secret weapon for Rails apps”. Interesting stuff on tuning PostgreSQL and using ActiveRecord wisely.
daemon-kit 0.1.8 hits the streets
After almost a year, daemon-kit 0.1.8 has been released.
SunnyConf Early Bird Special
Early Bird tickets for Arizona’s first regional Ruby conference are now available from sunnyconf.com.
Learn BDD Playing Dice - ebook
Access now this free and fun ebook to learn a little bit of BDD, Rspec, Ruby and Shoes having fun! (for beginners)
Chef & OpsCode platform explained [video]
The Chef/OpsCode episode of webpulp.tv was posted and dives into what chef is and how it works, it has good explanations from Joshua Timberman.