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.
Editable Grid for RoR with dhtmlxGrid
Here is a tutorial on how to build an editable datagrid which loads data from server and saves it back to the database using Ruby on Rails.
New Array and Enumerable methods in Ruby 1.9.2
1.9.2 comes with some new Array and Enumerable methods: keep_if, chunk, slice_before, flat_map… This is a blog post about what they are and what they do.
acts_as_state_machine is not concurrent
It doesn’t work correctly in a typical production deployment. See how AASM breaks and how to fix it. 4 minute screen cast + blog post.
Few thoughts on gem dependency problems with possible solutions
This is a writeup on gem dependency problems and how we can possibly fix that. Feel free to leave your opinions in post comments - maybe we’ll all come up with something cool.
Manage Gems Separately in Different Projects Use Bundler
How to manager gems in different projects, bunlder give us another solution. see here
Rails 3 example using Authlogic
I created an example application demonstrating Authlogic running on Rails 3. It is complete with RSpec tests and email validation.
Using Plupload + CarrierWave in Rails 3
Just a quick run down of how easy it is to use Plupload in a Rails 3 project for file uploads.
3 Reasons You Shouldn't Use STI
A blog post about why STI is rarely the right modelling choice.
Announcing God 0.11.0 - All new notifications system
Today’s release of God 0.11.0 includes a totally rewritten notifications system. And remember, GOD NO LONGER LEAKS MEMORY, so get started with powerful, customizable process monitoring today!
zozo 1.0.0 released
zozo reduces the memory footprint of your ruby applications by not loading rubygems/bundler at runtime.
Oink + Request Log Analyzer = Rails Monitoring in one report
Request Log Analyzer, which analyzes a Rails log file and reports throughput and request times, adds Oink file format processing for memory usage metrics. Also includes information on memory leak alerts using Scout.
Interesting way to hire Rails devs
Hiring talented developers is never an easy task. Integrum is taking a non traditional approach which seems quite interesting. Look at their blog post explaining how they pick candidates. The way I see it, such a process means two things. First, the hiring company really cares about its employees and secondly, potential candidates can see right away what kind of technology is used on a daily basis. Even if you are not looking for a new job, you might be interested in the process and why not even trying to solve the mini test?
RailsConf 2010: Interview with Fabio Akita
RailsConf 2010: Interview with Fabio Akita. Very interesting thoughts on Ruby and Rails community.
Test today your JavaScript code in a Rails 3 application with Blue Ridge
The project was forked and the generators migrated, learn how to use them.
Announcing AdhearsionConf 2010
Announcing AdhearsionConf 2010 so mark your calendars to be in San Francisco from August 14th to the 15th.
Creating Configuration Files With Ruby Templates
A quick how to on using Ruby’s ERB template system to create tedious configuration files.
SimpleForm: forms made easy for Rails
Carlos Antônio from Plataforma talks about a new open source project they extracted from recent projects to handle forms and markup.
Video: Michael Nutt talks about Gilt Groupe, jruby, etc
I just posted an episode of webpulp.tv with Michael Nutt, he talks about Gilt Groupe, rails, jruby, etc.
Passenger 3 Tech Preview: Closing the gap between dev and production & rethinking the word "easy"
Can Phusion Passenger be easier? Why yes it can.
Regex Result Access Benchmark
I benchmarked String#[/REGEX/, 1] vs String#match(/REGEX/)[0]
Debugging Deadlocks
A 13 minute screencast showing how to track down and fix deadlocks in MySQL and Rails
Rails 3- Building a Blog - Part 2: CRUD Show and Create
The second part of the tutorial for building a blog with Ruby on Rails version 3. We demonstrate how to set up some basic routes, manage the controller and views, and create a basic form for creating posts.