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.
Free Webcast: What to Expect in Rails 3
Yehuda Katz will be speaking about what to expect in Rails 3 on May 22, 2009 in a free webcast.
Queueing in Ruby with AMQP
This post on Queueing in Ruby with AMQP covers installing Erlang, RabbitMQ, and the Ruby AMQP library as well as performing some very rudimentary queueing and dequeueing snippets.
EasyVimeo gem for easy Vimeo integration
With my new easy-vimeo gem you can easily upload a video or get attributes from a Vimeo video in just a few lines of code. The video object looks like an ActiveRecord instance, just set some attributes (title, caption, etc.), call save and rest :).
Fibers & Cooperative Scheduling in Ruby
Continuations (known as Fibers) in Ruby 1.9 give us the ability to do cooperative scheduling, and implement synchronous API’s on top of async libraries, which are both much more efficient and avoid the complexity of threading. A hands on look at the theory, code, and applications.
Translator - i18n tooling for Rails
Translator is a plugin/gem to simplify internationalizing a Rails app by keeping your code DRY using simple conventions, make testing easier and supporting locale fallback.
Urobot, is this user-agent a browser or bot?
Urobot tries to answer to the question if a user-agent string belongs to a (human) browser or a bot. It does so by examines a user-agent string to see if its looks like it belongs to a legitimate browser. If this is not the case Urobot assumes the user-agent string to of a bot. More about Urobot…
Rails Magazine - RailsConf 2009 Special Report is available as a free pdf!
Get it here.
Blue Ridge 1.0: JavaScript Unit Testing for Rails. No, Seriously!
Historically, when selecting a JavaScript testing solution, you were forced to choose whether you wanted a framework that could run your tests in the browser or one that could only run your tests in a headless fashion. By providing a Rails-friendly, convention-over-configuration wrapper around a collection of great open source tools, Blue Ridge gives us the best of both worlds: fast, automation-friendly, and headless testing plus the ability to run your tests in whichever browser is acting up on any given day.
just posted 2 short screencasts
on gemupdate.com on How to cleanup your project from unwanted files and a small bash trick which allows you to demo code without creating file which can be either a cool or a silly trick:D
Early 8-bit Sounds from _why's Bloopsaphone
This IDFDZ post finally links to a bunch of mp3s of the sample songs so you can hear what Hackety Hack’s music and sound effects library will sound like.
admin_data Rails plugin
Out of the box, the admin_data plugin allows you to not only browse and quickly search data but also do advanced searches on a field by field basis. You can check out a live demo. Get the source code from GitHub. (Posted on behalf of someone else.)
Using Delayed::Job with Juggernaut
This article describes leveraging Dj and Juggernaut to simulate a real-time connection to the server.
http_require == require files over HTTP
Astrails http_require Wouldn’t it be cool if you could just require “http://my-host/my-lib.rb” in ruby? Now You Can! Using our “http_require” gem! :-)
Rack::Debug - Rack middleware for step debugging
Rack::Debug gives a simple interface to ruby-debug inside Rack apps.
Using shell alias to speed-up rails development
How to use shell alias to speed up rails development. Article link.
Euruko 2009 Summary
Euruko 2009 is over and I tried to summarize in this post the best of this amazing conference ! Enjoy !
Book Promotion: Ruby in Practice
RubyLearning is pleased to announce the promotion of the book “Ruby in Practice” by authors Jeremy McAnally and Assaf Arkin. Go here for all the details. Anyone can join. It’s free. Use Enrollment key: BPCE101
Randomizing an Array in ruby
Ruby randomize methods This article deals about ruby array randomize.Some of the piece of code available are taken from web.If we want to scramble an array into a random order
Rails Paperclip Tutorial
Goodbye Attachment Fu, Hello Paperclip is a good introduction/tutorial on using Paperclip instead of Attachment Fu
Demystifying Irb's Commands
This post takes an in-depth look at irb commands that are available to every irb subsession. This is the first in a series to give rubyists a better understanding of irb.
acts_as_unicorn: Instantly add unicorn power as seen at RailsConf2009
acts_as_unicorn: Instantly add unicorn power to your rails application Railsconf was powered by UNICORNS, and now your app can be too with the all new acts_as_unicorn plugin. Cornify it up!
How to use twitter_auth in development mode
How to use twitter_auth in development mode is a beginner tutorial on how to setup your development box with passenger in local, in order to use twitter_auth and twitter callback.
each.with_dots == Free dots for iterations
The dots gem gives you a free Test::Unit-like experience for your iterations. Spruce up your scripts! Just change each to each.with_dots:
..........
Finished in 6.225932 seconds.
10 total, 10 passed, 0 failed, 0 erred
Consent: an access control DSL for Rails
Consent provides a DSL for matching HTTP requests and managing access control to Rails apps. Recently updated to support Rails 2.3 and provide shorthand URL generator expressions for controller and view code.