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.
Party on, Wayne! Celebrate #rbxday tomorrow.
Tomorrow, Friday, August 5 is the inaugural #rbxday. There’s a global virtual event, and a number of in-person hackfests taking place.
3 areas where MacRuby shines vs. Objective-C
We were writing Objective-C when we started building Redwood. When we released the app this week, almost all of our code was written in Ruby. There were three spots where using MacRuby really made a difference.
An open-source, Heroku compatible implementation of BoxJS/CSS/Etc
An evening’s effort, here is an open-source, Sinatra based implementation of BoxJS/CSS/Resizer back ends compatible with Box’s javascript libraries, including future Box features - that you can deploy right now.
Investing in your Knowledge Portfolio
On the Teach Me To Code podcast, I discuss investing in your knowledge portfolio. If you’re looking for good ways of moving ahead in your career, I list a few suggestions.
Simultaneous Capybara Sessions in Cucumber
Collective Idea’s latest blog post shows how to use Capybara 1.0 to easily test those tricky multiple-browser interactions.
The fog 2011 halftime show
A fog update from geemus covering fog 0.10.0, new services added, growth stats, and what’s coming next.
cascading_classes: Properties that cascade down class trees
I just launched cascading_classes. This allows you to easily create properties that cascade down class trees. gem install cascading_classes
paperclip-aws — use AWS SDK (S3) with Paperclip
As you know some days ago Amazon released official AWS SDK for Ruby. I created Paperclip storage module called paperclip-aws that brings ‘aws-sdk’ to Paperclip. Features include: works perfectly with US, European and Japanese S3 instances; supports both http
and https
urls; supports expiring urls; can generate urls for read
, write
и delete
operations.
Simple & Helpful Field Helpers for Rails
Prefilled/checked fields with values from params (e.g. params_check_box_tag 'search[user_ids][]', 1
).. Check boxes/radio buttons with matching(clickable) labels (e.g. radio_button_with_label 'search[foo]', 1, true, 'Foo?'
) and more @ helpful_fields
Corporate Sponsorship of Open Source Software
Prompted by Matz joining Heroku, the Ruby Rogues discuss corporate sponsorship of open source software. Our panel includes Charles Max Wood, Dr. Nic Williams, James Edward Gray, Josh Susser, and Peter Cooper.
Simple and custom authentication for app that uses Devise but without opening any session
I just wrote a #notetomyself about doing stupid simple authentication just using email and password in a Rails3 app that uses Devise as authentication engine.
How invokedynamic just might save Dynamic Languages on the JVM
If you work with a dynamic language hosted on the JVM you might not have heard of JSR223 and JSR292, but you owe these documents a debt of gratitude. Ola Bini explains how these JSRs specify extensions to the JVM that make it a happier place for dynamic languages.
Before, after, and around filters in controllers
Are you a new developer trying to learn Ruby on Rails? The latest Rails Coach podcast discusses before, after, and around filters in controllers.
Command Line Feedback from RVM and Git
If you’re like me, most of your day is working in Git and RVM. I am frequently typing git branch to remember what branch I’m on, and rvm gemdir to remember what ruby version and gemset I’m using. With all those wasted cycles, there has to be a better way. And there is.
Protocol Buffers, Avro, Thrift & MessagePack
Which is the best serialization format? Protocol Buffers from Google, Facebook’s Thrift, MessagePack, or maybe Avro? A look at the use cases and the historical context in which each was developed is instrumental in helping us answer this question.
The When, How, and Why of Metaprogramming in Ruby
In the latest Ruby Rogues podcast, we discuss the when, how, and why of metaprogramming in Ruby. Our expert panel includes Avdi Grimm, Josh Susser, David Brady, James Edward Gray, Charles Max Wood, and Gregory Brown.
Making ActiveRecord Models Thin
Here are my thoughts about separating business logic from the persistence: Making ActiveRecord Models Thin. Let’s have a discussion!
Backends in Rails 3.1
I’ve written a blog post on creating your own backend using Rails 3.1. It shows of some great gems for making this a relatively simple task and showing of some of the new features of Rails 3.1 at the same time. It’s complete with source code on github and a running example on Heroku (login with frodo:thering)
Uninitialized variables in Ruby
Post about Uninitialized variables in Ruby. And what if you will have one.
Use Redcarpet as a Markdown Filter for Haml in Rails
Haml by default does not use Redcarpet Ruby Gem if available as the dependecy to parse Markdown text format. But it’s easy to overwrite the Haml internal to use Redcarpet. Read more.
Ruby Programming 26th Batch: Registrations now open
Learn Ruby Programming. Registrations are now open for RubyLearning’s popular Ruby programming course. This is an intensive, online course for beginners that helps you get started with Ruby programming.
Convert Ruby object to array
Have you ever been in a situation where you needed a method that does the following: [more inside]
Podcast: Arthur Chiu & Nathan Esquenazi on Padrino, Sinatra, and Rails
Dr Nic Williams talks with Arthur and Nathan about Padrino, Sinatra, and Rails.