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.
phat, a new type of Rails app
phat uses Ruby 1.9 and EventMachine to scale better than a typical Rails application. My blog post explains how it works.
css sprite best practices
I have written a post css sprite best practices. Following the practices, you will be saved from dull css sprite job. It also tells you how to automatically do the css sprite job by using my css_sprite gem.
on .gemspecs
Yesterday I wrote “.gitignore your *.gemspec”, in which I suggest to stop putting .gemspecs in gem repositories. [more inside]
Screencast review: Using Amazon S3 in Rails App
I just reviewed Using Amazon S3 in Rails App from Codeulate Screencasts.
RubyFlow and Ruby Inside optimized for the iPad
Caught up in the iPad fever today? Ruby Inside and RubyFlow are now optimized for the iPad! No zooming necessary — it’s a slick full-screen experience. (Screenshot of how they look.) RubyFlow’s iPhone experience has also been marginally improved.
nanoc 3.1 released
I’ve just released nanoc 3.1, which makes nanoc a bit easier to use, and adds support for binary assets. Filters that rescale and rotate images or even convert movies to OGG for use with HTML5 video are now possible! nanoc is a tool that runs on your local computer and compiles Markdown, Textile, Haml, etc. documents into static web pages, ready for uploading to any web host. See the nanoc web site for details.
Awesome Print gem released
Pretty print your Ruby objects with style – in full color and with proper indentation. Rails ActiveRecord objects are supported via included mixin. Check out http://github.com/michaeldv/awesome_print
RakeServer lets you invoke rake tasks quickly in production
RakeServer runs rake tasks using a client-server architecture, allowing the server to hold your environment in memory and fire off tasks quickly. Here’s a blog post discussing motivations and use cases.
Commenting in Radiant CMS from a gem
I have a quick post about the radiant comments extension as a gem. Read a bit about it and some more details in the comments.
TDD is like Communism
Turning around coworkers argument against TDD
remodel -- a minimal ORM (object-redis-mapper)
An ActiveRecord-like mapping layer which offers familiar syntax like has_many, has_one etc. to build your domain model in ruby. Only 300 loc and on GitHub.
Capfire gem, send deploy message to Campfire
We just launched Capfire a gem to post notifications from your deploys to your Campfire, with a link to the Github compare view include.
SSL checklist for Rails Applications
Enabling SSL in a Rails application is really trivial and there are just a few points that need your attention.
How and why use periodicTimer
In ruby EventMachine is a great tool. I explain why use PeriodicTimer and how it’s works.
Padrino is a full-stack web framework wrapped around Sinatra
Padrino is a modular ruby web framework built upon the excellent Sinatra Microframework. Padrino was created to make it fun and easy to code more advanced web applications while still adhering to the spirit that makes Sinatra great! It provides a full set of standardized view helpers, an enhanced router, i18n localization, a Django-esque admin interface, generators, mountable applications and much more. Get started by reading our guides, viewing our screencast, or checking out the github repo for more information!
Red Dirt Ruby Conference Program and Early Bird Registration
Red Dirt Ruby Conference, May 6th and 7th, 2010, Cox Convention Center, Oklahoma City, Oklahoma, http://reddirtrubyconf.com
Rails Coach Interview with Chad Fowler - Part 2
I interviewed Chad Fowler (this is part 2 of the interview). We talked about challenging yourself by finding things that make you uncomfortable and how that makes you better. We also talked about the tools and processes we use to generate good code and what good code is.
Pivotal Pulse and Integrity integration
Here’s a quick writeup for how to make your Integrity instance play nice with Pivotal Pulse.
Introducing Rails Routes TextMate bundle
I just launched Rails Routes TextMate bundle that helps navigating to action or view for any named route (things like new_publisher_magazine_photo_url). Check out GitHub repo for installation info and blog post for introduction and yada yada.
Like rats deserting the good ship Merb - introducing merb-to-rails3 railtie
If you’re migrating Merb applications to Rails3 or you’re about to start doing that then make sure you check out a helper library we’ve written recently called merb-to-rails3 which will ease the (small) pain of the migration.
Grep in Ruby – A powerful Enumerable method
I just post a new blog about Grep method in Ruby. @zigzagchen Next time when you come across some situation need to use “select + map”, maybe you could keep “grep” in your mind beforehand.
RubyKaigi 2010 (Japan's Ruby Conference) is open for talk proposals
RubyKaigi 2010 is the premiere Ruby conference in Japan. This year’s RubyKaigi will be from August 27-29 at Tsukuba International Conference Centre (the venue of RubyKaigi 2008”), just outside of Tokyo proper. RubyKaigi 2010 is open for talk proposals until April 28th. Talks on any topic related to Ruby are welcome: RubyKaigi 2010 Call for Presentation Proposals. RubyKaigi 2010 is also seeking “sub-event” organizers: RubyKaigi 2010 Call for Sub-Event Proposals.
twitter_connect makes twitter oauth like facebook connect
I just released twitter_connect gem. It popups a window to authenticate twitter oauth, like facebook connect, which is especially suit for the application in iframe or you don’t want user leave your website. There is also a demo, check it here
Play! Framework....Rails for Java is finally a reality
Thought I’d share my thoughts on play! with you. I have around 10 years exp with Java, and around 4 with Ruby/Rails. I love Rails, but it does cause heartburn at times. The inability to easily track behavior definition, especially when plugins and Rails itself monkeypatches things, can make life difficult.
Following Pivotal Tracker projects with Kilt
Kilt is a Rubygem to follow Pivotal Tracker projects. I explain the motivations in this post.