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.
Decrypt cisco encrypted passwords
Just because i needed to connect to a cisco vpn using osx lion i’ve build Cisco decrypt so i don’t need to wait for the cisco guys to actually build a client. It’s kind of evil but it can save you some time.
Skypekit for Ruby
Just released Skypekit for Ruby by Railsware. Also libskypekit can be wrapped in Lua, Erlang, LISP, etc.
Gem of Thrones: this task must only be done by one!
Distributed locking via e.g. memcache to ensure 1 and only 1 does e.g. updating of a shared cache. gem_of_thrones
Bloombroom v1.0, Ruby gem for continuous (streaming) fast Bloom filter
Bloombroom v1.0 a Ruby gem with fast Bloom filters for bounded and unbounded (streaming) data, FNV hashing and bit fields has been released to Rubygems
Deploy & Edit a Facebook App in 5 Min
Ever want to write an App that uses the Facebook graph? Well you can have a Facebook enabled site up, running and edited in only 5 minutes.
[German] Rails 3.2.3 veröffentlicht
Ruby on Rails wurde in der Version 3.2.3 veröffentlicht. Neben einigen Bugfixes wurde auch einiges an der Sicherheit des Frameworks und dem Schutz vor unerlaubten Parametern bei mass assignment geändert. Weiterlesen
Rails Subcontracting Essentials
I have been working hand-in-glove with a Rails subcontractor. Here’s our ultra-effective process.
TinyGem: A small library for small gems
I threw together a small hack to build a gem out of a single source file.
Cleaning parameters from a given url in Rails
The other day I needed to clean a url from one of the parameter, blogged about it on the cookies blog.
CSRF and Rails
Posted a blog on CSRF and Rails .
XSS and Rails
Posted a blog on XSS and Rails .
Rails Development with Facebook Canvas
The following instructions/solutions will help you to access your http://localhost:3000/ through Facebook: Rails Development with Facebook Canvas.
Gemfile trick for github repositories
If you’re using github repos in you Gemfile, check out this tip : Read more
rubygems-bundler integration gem reaches 1.0.0 - No more “bundle exec …”
I just wrote on my blog about the forthcoming release of my gem rubygems-bundler 1.0.0 you can try it now with:
Domain Driven Design for Rails Developers. Part 3: Aggregates.
You start with nicely designed groups of objects. All the objects have clear responsibilities, and all interactions among them are explicit. Then, you have to consider additional requirements, such as transactions, integration with external systems, event generation. Soon you end up with a bunch of interconnected objects without clear boundaries. Maintaining this mess becomes harder and harder. Thankfully, Domain Driven Design provides a good remedy for this situation: Aggregates. Read more
My Giant List of Ruby Questions
This is my workflow (to date) for learning Ruby. Ruby Questions My goal is to have a mastery over both Ruby and the Rails framework. Previously I have felt “OK” with both the Ruby language and Rails framework, but I am not a heavy hitter with either. My workflow has been to read the books listed below creating questions based on what I felt was important material. Much of it I knew but just wanted it documented so I can review the language every few months or so. Much of it comes in and out of memory depending on the current program I am developing. Read more
Multiple Ruby Version Support on Heroku
Heroku has long advocated having a strong parity between development and production environments, now you can run the same Ruby version in your production app that you used to develop it. Read more
Ruby Under a Microscope
I just published one chapter from my upcoming Ruby internals eBook, called Ruby Under a Microscope - Learning Ruby Internals Through Experiment.
bullet 4.0.0 released (support mongoid)
bullet is designed to help you reduce the number of db queries, I just released gem bullet 4.0.0, it supports mongoid now, I also wrote a post to tell you the details.
RVM, Ubuntu & Cron - a Quick Guide
I just wrote a quick guide to using cron with Ubuntu and rake tasks with RVM. I know it’s something I’ll look at again, so hopefully some others find use for it. Read more
I18n alchemy - localization and parsing
Carlos Antonio from Plataformatec has finally released to the public his I18n alchemy gem: an alternative for localization and parsing of I18n data with Active Model.
My First Impressions of RubyMotion
Yet another RubyMotion first impressions post.
Principle of least surprise in your model methods
Just posted a blog post: make your methods follow the principle of least surprise
Why runtime method count is not a good complexity smell
A response to Steve Klabnik’s post on mixins (which I mostly agree with), showing how runtime method count is not a good indicator of complexity, using the standard library Enumerable module as an example