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.
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!
ice_cube 0.3.1 - Recurring Dates
I just released ice_cube 0.3.1. It provides an easy, semantic way to work with complex recurrence rules in Ruby. Check it out on github and see what its all about. The website and README provide some great examples to get you started. Thanks!
Rule.yearly.day(:friday).month_of_year(:october).day_of_month(13)
open_exception gem - auto open busted code
I just released the open_exception gem for auto-opening code in your editor when an exception occurs.
Cinch: The IRC Microframework version 0.2
Since 0.1 was released only yesterday, there has been strong interest. Here’s 0.2 already, supporting named parameter types! Check out the example of how to use this feature here. With new types being added soon. [more inside]
Markupslicer - Slice your HTML/CSS markup into Ruby on Rails templates.
We just launched MarkupSlicer - an Free Rails application to slice your HTML/CSS markup into Ruby on Rails layouts, templates and partials. Supports ERB and HAML for now, vote on site for more formats. Free and kinda fun. Go play with demo project and tell us how you like it.
Haml/Sass 3 RC 1 Released
The first release candidate of Haml/Sass 3 is now out, bringing with it nicer multiline Ruby for Haml and powerful selector inheritance for Sass.
business_time gem Released
I recently launched my business_time gem for doing date math with business hours, weekends, and holidays. This blog entry shows the usage.
Tag your gem sources with thor-ctags
I just wrote a small thor-ctags script to use ctags a bit easier with multiple gems.
IRCSocket - an IRC wrapper for TCPSocket
irc-socket is an extremely small and simple IRC wrapper for TCPSocket. It follows the guidelines laid out in RFC 2812 and provides methods to interact with an IRC server. The code is available on GitHub and API documentation is available here, as well as a post about it here Contributions welcome!
Restful Authentication for Rails 3
I am trying to upgrade Restful Authentication plugin for Rails 3. Here are some of my notes.
Apply rules to your classes
I just launched rulebook which allows you to define ‘rules’ or dynamic methods to your classes.
Popular Ruby web framework benchmarks!
The Padrino Team was frequently asked about how our framework stacks up ‘speed-wise’ to existing alternatives. Even though we are not benchmark fans (usually too misleading), we pitted the major ruby frameworks against each other in three key benchmark tests. The benchmark implementation and results are available at the benchmark github repo. Please help us improve these if you can!
Devise RPX Connectable
I just launched Devise RPX Connectable. Use RPX services and Devise to authenticate your users using Facebook, Twitter, MSN, Google, MySpace, OpenID… Compatible with Rails 2/3/ActiveRecord/Mongoid.
Cinch: The IRC Microframework
Version 0.1 of Cinch IRC Microframework has been released today. [more inside]
Isy framework
I wrote another 4 articles about Isy: Isy – Components, Isy on Pivotal Tracker, Isy – What about the URLs and Isy – Internationalization
Facebook Connect with Facebooker
I just posted an up-to-date Facebook Connect tutorial using the Facebooker plugin in Ruby on Rails.
Rails Google Sitemaps on Heroku
Ever wanted to create a google sitemap for your rails app on heroku? Then check out this blogpost on getting round the read-only filesystem.
Existential Authorization
Rails plugin for doing super easy authorization:Existential
Rails, DB2 and the Enterprise
A few thoughts about Rails and the Enterprise world.
Throwing out code
Ever get stuck writing something that you know is just plain wrong? Throw out the code and start over!
Rack::Recaptcha Middleware Released!
Drop this Rack middleware in your web application to enable CAPTCHA verification via Recaptcha API. Check out the Github Repo or the gem page.
using git bisect
I just found a short article on using git bisect.