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.
Password Protected Pdf using acts_as_flying_saucer
Using acts_as_flying_saucer Pdf can be generated with password protection More info can be found Here
awesome_print 0.2.1 released
The latest version of awesome_print gem adds support for using ap
within Rails templates. For example: <blockquote><%= ap object %></blockquote>
Using ActiveRecord::Base methods to create multiple database connections in Ruby on Rails
Just finished writing this post about multiple connections
Thinking Sphinx Performance – Split your re-indexing into separate tasks
Part 2 of a 3 part series covering some Thinking Sphinx performance tricks. In part 2 we look at how to re-index individual indexes separately.
Video: RSpec Matchers - Teach Me To Code
I just put up a video demonstrating custom RSpec Matchers. Go check it out at TeachMeToCode.com
IDEA: Ruby Mendicant University
Please comment on the RBP blog about this idea for a free online Ruby training program.
acts_as_flying_saucer PDF generation
PDF generation using the acts_as_flying_saucer plugin.
Four things you should know about ruby methods
I’ve found that there are a few tricks you can use when defining methods in your classes, specifically with regards to the way your argument list is defined. Hopefully this can be useful to any up and coming rubyists. [more inside]
Dave Thomas Keynote - "Ruby Sucks and There is No Ruby Community"
We just posted the video of Dave Thomas giving the Keynote at the recent Red Dirt Ruby Conference. He passionately talks about how Ruby’s weaknesses are also its strengths and how people and personal relationships are an important part of building and growing strong communities of programmers. Amazingly heart felt talk from a great speaker and thought leader.
ZooKeeper ruby client update
I just fixed up the Zookeeper ruby client. Now C and Jruby have the same interface and watches work in MRI. It’s still not completely specced and hasn’t been used in production, but it’s looking pretty promising. Zookeeper sure lets you do a lot of cool stuff that would otherwise be really hard in a cluster.
Convenient way to browse issues on github
I have a few repositories on github. Several of them have issues, but it’s not convenient for me to browse the issues from one repository to another. So I build a website Github Issues to fetch all my issues on github in one page after I type my github username.
Ruby On Acid On Ruboto
It was very easy to get a Ruby on Acid demo script for Ruboto 0.2 (JRuby/IRB for Android) up and running on an emulator and then on my phone itself. Follow the link for code and a screenshot.
Everyday Rails: New blog for getting things done with Rails
I’ve started a new blog for people who are somewhere between Rails newbies and advanced Ruby developers, called Everyday Rails. So far I’ve written about Rails application templates and the Nifty Generators gem. I’m going to keep writing a couple of times a week–hope you find it useful.
TMTC 22 - Agile Roots & Andrew Shafer
I just interviewed with Andrew Shafer, co-founder of the Agile Roots conference, developer on Puppet, and entrepreneurial and agile development genius!
Easy Hash access/write with Methodize
If your code is full of square brackets when accessing complex Hash objects (JSON, for example), then this gem is for you. Methodize
10 TextMate bundles/plugins to boost your Ruby on Rails development productivity
I composed a list of 10 TextMate bundles which I use everyday.
I Suck at Ruby
This is a Tumblelog I built for beginning Rubyists (like myself) as a way to share what I’m learning, cool tools I stumble across and any Ruby-related musings. Read: I Suck at Ruby
Dynamic sitemap using Ruby on Rails
Just read my friends post about that How to create a dynamic sitemap using Ruby on Rails
5 Open Source Rails Apps to Study and Learn from.
Here’s five open source Rails apps that are good to study if you are new to Rails, or if you want to see how a particular gem, plugin or testing technique is used in practice. [more inside]
Euruko 2010 summary
Check out brief summary of talks at Euruko 2010 in Kraków: Day One and Day Two, from Markus Prinz.
Real world Cassandra and Ruby
My experiences building a high-throughput reporting system using Cassandra and Ruby.
Daemonizing Navvy with God
I just published an article about using God to daemonize and monitor the Navvy worker.
Thinking Sphinx Performance - How to Index from Slave MySQL Database
Part 1 of 3 covering some Thinking Sphinx performance tricks, part 1 shows you how to configure the sphinx indexer use your Slave MySQL database server.