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.
auto_html 1.3.0 Released
auto_html 1.3.0 is out. Highlights: * Rails 3 support * no need for explicit call to auto_html_prepare for preview * no need for DB column for cache (ie. _html) * correctly handle blank and nil values when applying auto_html * youtube filter supports html5 * filter added: youtube_js_api
Attribute Normalizer 0.3.0 Relased
v0.3.0 of the attribute_normalizer gem. [more inside]
Ruby port of NLTK punkt sentence segmenter
Just finished the ruby port of NLTK punkt sentence segmenter for natural language processing systems. Check it out source and documentation at http://github.com/lfcipriani/punkt-segmenter
Multi-core, Threads & Message Passing
It’s not a question of whether threads, events or message-passing is a better model - the hardware trends require that we use all of the above. Either the VM (like Ruby) has to abstract it all for us, or we need to build frameworks to match the capabilities of the hardware.
SerializableProc
I’ve just released SerializableProc, which differs from the vanilla Proc in 2 main areas, checkout the project’s readme for more details. Cheers !!
Use STI and polymorphic model for multiple uploads
I wrote an article Use STI and polymorphic model for multiple uploads, it provides a flexible and reusable solution for multiple uploads by using paperclip.
Amazon Simple Queing Service (SQS) using Ruby
Amazon Simple Queue Service (Amazon SQS) is a distributed queue messaging service. The idea of SQS is to remove the direct associations between producer and consumer and act as mediator between them.Ruby libraries like right-aws,sqs etc.helps to achieve using SQS. To know more about how it is implemented visit SQS using Ruby.
Rails 3 Example App with Subdomains and Devise
(with a detailed walk-through tutorial) that shows how to set up subdomains in Rails 3 using Devise for authentication: [more inside]
Updating Class Table Inheritance Tables
Some code/blog post showing a neat way of updating CTI tables in Rails
Book review - Web Operations
For folks doing devops - here’s a book review of Web Operations.
Why Ruby on Rails is awesome? 2/2 (French)
Discover why Ruby on Rails is awesome with a technical point of view.
React - Redis based remote command executor.
I just released react gem. React is a simple application that allows for remote command execution, and it uses Redis as a queue.
Create Domain Specific Languages (DSLs) Easily
I’ve just released dsl, a friendly way to create DSLs within blocks and objects.
Tapping into Distributed Erlang from Rails
My company, NabeWise, uses BERTRPC and Erlang to run backend services for our Rails app. This is how we do it: http://nabewise.posterous.com/tapping-into-distributed-erlang-from-rails
Improve IRB (and fix it on Max OS X)
A few tips / reminders to improve IRB : http://www.tech-angels.fr/post/963080350/improve-irb-and-fix-it-on-mac-os-x. There’s also an issue with reverse-search on Mac OS X fixed in this post.
rails_best_practices 0.4.0 released
I have released rails_best_practices 0.4.0, rails_best_practices is a code metric tool for rails codes, from 0.4.0, it can check the rails3 codes better. In addition, if you want to add your rails best practices into the gem, please post your best practices on http://rails-bestpractices.com
Rails Test Prescriptions Beta 6
Rails Test Prescriptions Beta 6 is now available from Pragmatic. The book is also available for pre-order from Amazon. [more inside]
Bundler, because your gems depend on gems too
Bundler made gem dependencies in Rails projects a lot easier, but what about gems themselves? In this article I show you how Bundler makes managing your gem’s gem dependencies a breeze.
Easy Tasks with RTask
An Introduction to RTask, a simple task library, similar to rake or thor. RTask wraps your tasks into a class, with a simple DSL to allow for easy creation of task. Tasks are namespaced via modules and classes. Read Full Post
Why Ruby on Rails is awesome? (French)
Discover why Ruby on Rails is awesome with a non-technical point of view. by Camille Roux @ SophiaConf 2010
RTask, a simple task library similar to rake and thor, v 0.1.7 released
RTask, a simple task library similar to rake and thor Clone on Github Gem page
New gem for taking money with Sage Pay
I’ve just released the latest version of a gem I built for interacting with Sage Pay, one of the UK’s least unpopular payment providers. It’s been in production for a couple of months now, so I’m happy to claim it works. There’s no home page to point you to, but you can grab the source from GitHub or install it from your favourite gem source. The gem implements the full SagePay server protocol, including deferred payments, repeat payments and refunds.