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.
Rails 2.3.5, JQuery, Unobtrusive JS and Graceful Degradation
In a trifecta (tutorial, example app and live sample) of geek bliss I’ve married jQuery and Rails 2.3.5 in a way that is both unobtrusive and that degrades gracefully. While I’m sure we’re all looking forward to seeing how UJS with jQuery in Rails looks when Rails 3.0 comes out of beta, the techniques described in my post can be used now in Rails 2.3 apps.
Massaging Rails 3 Beta on Windows
Rails 3 Beta Requires a little extra help to get going on Windows.
How to upgrade plugins to Rails 3.0
Step by step tutorial to build a Rails plugin with Rails 2.x and Rails 3.0 compatibility in addition to a compilation of links about the new API for plugins. Read more.
"xxx" Gem: Watch porn with Ruby
Some of my Polish colleagues have done something worth mentioning. Well, maybe not, but it’s Friday evening damnit! Watch porn with help of your ruby scripts or even irb with xxx gem!
RailsInside.com Is Now Written By You!
I’ve decided to open up RailsInside.com to public submissions. If you want some publicity or want to promote your plugin/library/whatever, you can now write a post for Rails Inside and I’ll put it up. Anything that’s not very poorly written or total nonsense will probably be accepted!
rails3info.com launched !
Visit rails3info.com and find out all you need to know about the new Ruby on Rails 3! Tutorials, presentations and articles in one convenient place.
Chapters 1,2,3 of "Ruby Best Practices"
Over on the RBP blog, I’ve been releasing chapters of “Ruby Best Practices”. See the announcement for Chapter 1, and for Chapters 2-3, and download some free PDFS!
Ruby on Rails: Code Metrics Identify Weaknesses, Strengthen Code
As time goes on, many Rails teams find that the rate at which they can add or improve features (known as the team’s velocity) is significantly reduced. To address this problem, teams should adopt practices that allow them to identify risky and high-maintenance code and refactor the code to improve it.
LazyGem - First pubic release
I just launched LazyGem 0.0.1, this allows you to auto install all of the gems that your subscribed too on GemCutter.org. feedback, comments or even refactoring are welcome. This is my first gem release.
Rails 3.0 Beta Released! How To Install It.
So the beta of Rails 3.0 is now out! I’ve published some instructions on how to install it.
Full text search in JRuby with ActiveLucene
ActiveLucene is like ActiveRecord but with Lucene the full text search engine, know the details in this post.
Rack::ForceDomain: Because the alternati...
Rack::ForceDomain (or source on GitHub): Because the alternatives were too complex for my simple mind. Usage on the back of a stamp:
$ gem install rack-force_domain
$ heroku config add DOMAIN="foo.com"
use Rack::ForceDomain, ENV["DOMAIN"]
Loading Radiant CMS extensions from a non-standard location
I often have websites that need to have similar functionality. Here I discuss a simple way to manage standard and custom extensions between different sites.
Spriter: Easy CSS sprites
Spriter is a new gem that makes CSS sprites easy to create and maintain. (Blog post / GitHub)
The Rails Module (in Rails 3)
Learn about how the Rails module is awesome, and how you should be using it.
Shadowgraph, yet another YouTube copy in Rails
I just launched shadowgraph, yet another YouTube copy in Rails.
Don't delete your records, move them to a different table
A Rails plugin called acts_as_archive does just that. Very easy to set up and auto-migrates from acts_as_paranoid.
Cuking a service-oriented rails app with Dupe (aka, factory-girl for ActiveResource)
If you’re going to create a service oriented rails app with ActiveResource, why not cuke the frontend first, letting the frontend drive the services you’ll eventually create in the backend service provider? Dupe is the factory-girl of services, and makes outside-in BDD with cucumber possible for a service oriented app. Get gem installation instructions and an overview of the features or check out an in-depth tutorial that takes you through the cuking process with dupe.
Simple Gem Hosting: GemInABox
I made this geminabox thingy to host our internal rubygems. It’s dead simple. Kinda like a lazyman’s Gemcutter.org, but just for your office, and with low quality graphic design. I did a bloggings too. I hope someone else finds it useful.
Rubular - Browser based regex testing
Recommend Rubular for testing regex expressions. It’s been very handy for this new gem I’m about to release called LazyGem (My first gem release).
Monitoring Delayed::Job with Scout
Lukas Rieder, Alexander Lang and Eric Lindvall have created a Scout plugin for monitoring Delayed::Job. With the plugin, you can graph and get alerts on running jobs, scheduled jobs, failed jobs and more.
New version of the webtranslateit gem
I just released a new version of the webtranslateit gem, to sync your translation files between the Web Translate It service and your app. The gem now include an executable, so you can sync the language files of any kind of apps (not only Rails apps). These tools should make your internationalization experience much more enjoyable.