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.
Ruby on Rails bootcamp in Manchester in August
In August, Tekin Suleyman and I will be delivering a 3-day, affordable Ruby on Rails bootcamp in Manchester (UK). It’s aimed at developers who already know a bit about web development and object oriented programming, but have limited or no experience with Ruby or Rails. The course will provide the skills, knowledge and experience necessary to build and deploy your very own Rails applications from scratch. Read more.
Mongoid is looking for new maintainers
DRY up your Rails code using with_options
If you don’t know about Rails’ with_options method, chances are you’ve got some nasty duplication in your codebase. [more inside]
Just released: mm_geoip
I just released mm_geoip, a convinience wrapper around the geoip gem with lazy lookup, a rack middleware and support for cleartext region names. Go to https://github.com/niko/mm_geoip for the code or install via gem install mm_geoip
.
Introducing the autosuggest-rb gem
I just launched autosuggest-rb which is a gem that wraps the jQuery autoSuggest Plugin and makes is easy to plug into Rails 3. For more details, see this blog post. Feel free to fork and improve it!
Rails Engines and filter_parameters
New blog post on adding filter_parameters in a Rails Engine. This is opposed to the standard application configuration approach.
Chronic 0.4.0
I’ve just pushed Chronic 0.4.0. Chronic is a natural language date/time parser written in pure Ruby. 0.4.0 contains many fixes and features you’ve been waiting for. Be sure to get in your feature requests and submit any issues you have whilst we work towards a 1.0!
MacRuby: Tame the Cocoa
With MacRuby we can make awesome helper classes available to the Cocoa environment, making coding for OS X even more pleasant.
Mongoid::Token, smaller IDs for your Mongoid documents
I just launched Mongoid::Token which is a short, but sweet gem for adding concise IDs to your Mongoid documents, when you can’t - or don’t want to use slugs and don’t want those gigantic MongoDB IDs in your URLs.
Gamifying Github
coderwall.com => a social coding game where developers unlock achievements when they commit good code.
Switching to Locomotive CMS (and why you should too)
We’ve switched our website & blog over to the cool new Mongo-backed, multi-site Locomotive CMS. It’s got some pretty cool features not available in other apps, so check it out
New gem for importing a WordPress Blog into RefineryCMS
Are you like me, owner of a WordPress blog? But your heart bleeds when looking at WordPress source and you’d like to run your site on rails, more specific the excellent Refinery CMS? [more inside]
Why SemVerTag is a good idea
Do you manually git tag
your releases? Do you follow Semantic Versioning? Do you prefix your version tags with a v
? You don’t?! [more inside]
Automatically adding Bundler binstubs into PATH
If you did “bundle install –binstubs”, you have bin folder in your app(which is safe to commit to repo). The simple hook script can save you from typing “./bin/rake” or “bundle exec rake” every time
0-60: Deploying Goliath on Heroku Cedar
Heroku’s new Cedar stack allows us to deploy any ruby app to their cloud! Which means, we can now deploy async Goliath Ruby apps with near minimal effort: streaming API’s, async API endpoints, etc, all without any of the callback mess!
Ruby one-liners
I published a Ruby version of the 10 Scala one-liners examples that circulated in the past couple of days.
Looking for RubyGems 1.8.5 breakage
Now that SlimGems has been released, it’s clear that at least some folks are fed up with RubyGems. This is in part because RubyGems 1.4.0->1.8.3 have been full of nasty surprises and breakage due to poor communication. What I want to know is what is still broken on RubyGems 1.8.5, so that I can investigate and try to help get it fixed!
RoleUp - A CanCan Extension Gem
Easily clean up your authorization rule definitions in any Rails project where you’re using CanCan.
More User-centric Routes: Rails 2
Learn how to change your Rails routes for a logged in user. Now that we can write user-centric routes in Rails 3, this blog post shows how to get the same result in Rails 2!
Learn Ruby programming for free
RubyLearning is in its 6th year and to celebrate its 25th Ruby programming batch, RubyLearning is offering this seven week course free to 25 participants. For details refer the blog post.
Rolling roles on rails
Just released rollable version 0.1.0. Now with helpers for setting and getting roles. Enjoy!
SlimGems, a drop-in replacement for RubyGems -- now available
Read This Before Installing Rails 3.1
Detailed (and current) instructions on how to install Rails 3.1. Suggests upgrading to RubyGems 1.8.5 and Rake 0.9.1 (and shows how). Points out a problem with “gem install rails –pre”. With other surprises, advice, and troubleshooting tips.
ruby extension to get informations about network interfaces
I just ported python netifaces extension to ruby , it is available here netifaces ruby extension , it has also been merged with pcaprub in metasploit.