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.
resque-restriction
I have posted a resque plugin, resque-restriction. It will limit the execution number of certain jobs in a period time and execute the exceeded jobs at the next period. It is especially useful when a system has an email invitation resque job, because sending emails too frequently will be treated as a spam. For example, resque-restriction can restrict the email invitation job not execute more than 1000 times per day, 100 times per hour and 30 times per 300 seconds.
GoogleVisualr - A Ruby library for the Google Visualization API
This is a Ruby library which I created that wraps around the Google Visualization API. Write Ruby code. Generate Javascript. Display a Google Visualization.
SABABA: manage a key-value translation dictionary
I just launched SABABA. Consider its concepts if you need to build a site/app with multilingual buttons & title.
ubuntu - a great OS for Ruby developers!
ubuntu 10.4 “Lucid Lynx” has been released today and here is how to turn it into a sweet Ruby development environment: 1 – Installing Ruby (and Rails) on ubuntu 2 – Troubleshooting common Ruby ubuntu problems 3 – Be one with your command line! 4 – Make gedit better than any IDE ;)
New JRuby Blog Post: Monitor the JVM Heap with JRuby!
New post from the ever-awesome Charlie Nutter: check it out!
[ANN] RubyMine 2.0.2: RVM, Bundler, pre-built ruby-debug gem for Windows and more
The most dynamic of all Rails IDEs celebrates 1 year with a release of 2.0.2 update introducing new integrations and numerous enhancements. Read what’s new in RubyMine and download a 30-day trial.
Programmer Cartoons
I know it’s not really ruby, but we all need a nice distraction, so why not check out a list of programmer and geek cartoons and watch your free time get sucked away.
Merging Ruby Hashes And Bang Method Usage
The other day something curious happened that made me question how I use bang methods (and their non-bang cousins). You see, I wanted to merge some hashes and the performance difference between the bang and non-bang version of merge was astounding, so I decided to dig further…
RuleBook 0.3 Released! Old syntax is back.
RuleBook 0.3 is out and I’ve written a short blog post about the basics of RuleBook. The syntax is now backwards compatible with 0.1 and 0.2! I encourage you to fork and implement your ideas to help build the code.
[ANN] Avdi Grimm challenges Ruby beginners
Avdi Grimm challenges Ruby beginners with the Interactive Fiction Ruby programming challenge on RubyLearning.org. It’s free and you can win prizes.
Integrating Defender spam filtering with Rails
I just wrote a blog post on how to use Defender spam filtering with Rails. It could be useful for non-rails people too.
Everything You Need to Know About the New ActiveRecord API
Carl Lerche hosts Week 4 at Rails Dispatch: blog post and screencast on ActiveRelation, the new ActiveRecord API. Check it out! Also, be sure to take a peek at the new Q&A feature.
ubiquo 0.7.2 released
Now with full jruby support (including DB sequences), fixed integration problems with paperclip and thinking_sphinx along with some other bugfixing and minor improvements. Read the complete release notes
Rails 3 custom validators
I recently wrote a small post about creating your own custom validators for Rails 3 and how to package them as gems.
by_star: find AR objects by year, month, week and more
If you’re doing anything in your application where you need to find by dates / times you should give by_star a try.
Great list of Ruby on Rails Podcasts
I just set up a nice list of great ruby on rails podcasts for beginners.
Mac OSX users - meet "Dia".
Dia is a Ruby library for Mac OSX 10.5 and 10.6 users(Leopard and Snow Leopard). By using features exposed by the “sandbox” header on Leopard and Snow leopard you can create a sandbox environment for an application or block of ruby code. There are five different profiles(found on OSX) that change the sandbox environment. I’m running short on space; GitHub GemCutter
Radiant CMS 0.9.0 RC2 released
We’ve released RC2 of Radiant 0.9.0 and have some details about it on the Radiant blog. The big news is support for internationalization in the admin interface, support for extensions as gems, and other features.
bayes_motel
A multi-variate Bayesian classification engine in Ruby. Most popularly known for spam detection, Bayesian classification uses statistical methods to determine the proper category for a given document.
Should I Mock Kernel#exit?
Is it necessary to mock Kernel#exit to test a method that contains an exit? Here is another way to test an exit method (without mocking).
Remotely enable/disable Radiant sites
I’ve created the enabler extension to allow you to enable and disable a Radiant site remotely. [more inside]
RuleBook 0.2.1 Released! Can now set class rules!
I just updated rulebook to version 0.2.1 and it now has a new format for defining rules and has support for class methods! Check it out!
require 'dm-community' # An IRC Developer Q&A on May 6th
DataMapper will hold two developer Q&As May 6th in our IRC channel #datamapper on irc.freenode.org. Come learn what will be in DataMapper 1.0, ask your burning questions, or find out what DataMapper can do for you!