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.
Model Associations with ActiveRecord
If you’re trying to learn Ruby on Rails, here’s a quick audio explanation of model associations with ActiveRecord.
Alf 0.10.0 is out! Relational Algebra in Shell & Ruby.
I just launched Alf 0.10.0 which comes with lots of new features and enhancements and a fresh new web site with documentation and examples. Nice 15/08 to all!
Jetting Rubyist: Meeting fellow developers and attenting groups on the JetBlue BluePass for 3 months
Between August 22nd and November 22nd I’ll be flying around on JetBlue’s BluePass, catching as many Ruby meetups as possible (including RubyConf), and co-working with as many other Ruby developers as possible. [more inside]
Performance Testing Rails Applications — How To?
Gonçalo Silva talks about the built-in performance testing tools in Rails in this new article “Performance Testing Rails Applications — How To?” on RubyLearning.
Mass assignment security shouldn't happen in the model
I think we should be filtering parameters in the controller, not the model. Here’s why.
Understanding Include and Extend in Ruby
Simple post explain the Extend and Include in Ruby.
A keyboard shortcut to run tests with watchr
When developing in rails I use watchr to run the tests each time a file is saved, but lots of times I find my self adding a whitespace or a newline and saving just to trigger watchr and run the tests. [more inside]
Leading the Open Source Ruby Community
New on the Collective Idea blog: a look into leadership and how it ties in to the open source community. It’s more than superiority; it is social influence and deeply impacts how we communicate and work on projects.
Acceptance tests are slow. How do we get them fast?
Acceptance testing, whatever your preferred flavor, e.g. Cucumber or Coulda, are super-helpful. But once you have a large enough suite of tests, they can sometimes run upwards of 10 minutes! [more inside]
Video: How Ruby Koans Works
Are you looking at learning Ruby better? Here’s a quick video showing how Ruby Koans works.
Simple Ruby Version Management: rbenv
Simple ruby version manager makes us easily switches between multiple versions of Ruby. It’s simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.
Metior 0.2.0 – A source code history analyzer and report generator
Metior 0.2.0 includes a much smarter API, the ability to generate HTML reports (based on Mustache templates) and overall performance improvements through better caching and lazy loading. Additionally, a lots of bugs have been fixed. [more inside]
Cramp: Real-time web application framework in Ruby
Cramp [http://cramp.in] is a fully asynchronous real-time web application framework in Ruby, with in built support for WebSockets, Server-Sent Events, Streaming APIs and a lot more.
How do I test? Spork and Emacs experience
How do I test? Spork and Emacs experience Article about using Spork drb server with Rails application, and smart test running directly from Emacs. Save your time and start use Spork!
Interview with Josh Berkus
I’ve posted the second half of my interview with Josh Berkus from the PostgreSQL Core Team. In this episode, we talked about the interesting parts of and merits of the various NoSQL/non-relational databases.
Tips: Multiple pagination with will_paginate
I just wrote a simple tips about will_paginate Multiple pagination with will_paginate. A simple tip for paginate two or more list on the same page.
Ruby Metaprogramming: Part I
“If you’re working with Ruby, chances are by now you’ve heard the word “metaprogramming” thrown around quite a lot. You may have even used metaprogramming, but not fully understood the true power or usefulness of what it can do. By the end of this article, you should have a firm grasp not only of what it is, but also what it capable of, and how you can harness one of Ruby’s ‘killer features’ in your projects.” [more inside]
Amazon Product: Ruby wrapper to the Amazon Product Advertising API
I just re-released our Ruby wrapper to the Amazon Product Advertising API as Amazon Product. The API gives you access to Amazon’s product catalogues in eight countries and lets you do many cool things with the data.
Travis CI - It’s the new awesomesauce.
If you need continuous integration for your open source projects than Travis CI is a no brainer. It’s free. It works. It’s trivial to setup. If you don’t know you need CI for your open source project … that’s topic for another post. Read more here.
Content I18n for Locomotive
Locomotive is probably the best CMS for Ruby powered websites and webapps already. However, one essential feature for use in multilingual areas or contexts is still missing: content i18n. Here’s an opportunity to change this. (If you prefer not to create an account on the Locomotive forum, just comment here instead.)
Ox: Fast XML serialization
I recently released fast XML serializer called Ox also here. It is many time faster than Nokogiri and for Object serialization it is several times faster than Marshal. If there is enough interest I can provide some details as to what I did to make the underlying C code used in the extension as efficient as possible.
DO - IT! - Ultra Tiny framework for manage common tasks.
DO is a thin framework useful to manage localhost and remote servers through ssh. Check it out!.
ActiveRecord Callbacks to manage the workflow of your models
If you’re trying to learn Ruby on Rails, the Rails Coach Podcast goes into ActiveRecord Callbacks to manage the workflow of your models.
How to add API throttle to your rails app
I just wrote a blog post about API throttle in Rails app.
Capybara-WebKit: Bringing WebKit to your integration tests
Our first Guest Series post, by Peter Cooper [more inside]