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.
Emacs tidbits for Ruby developers
I compiled a short list of stuff I use to be a more productive Ruby developer. Have a look and let me know what tricks you use: Emacs tidbits for Ruby developers
Table Cloth - Easy to use tables in Rails views
I just launched Table Cloth. It’s an easy way of generating tables in Rails views. It gives the ability to render actions as well. [more inside]
Codecademy & Ruby
We just launched our first Ruby track at Codecademy. It’s designed for beginners, but we’re looking to include more courses & content in the future!
Table Cloth - Easy to use tables in Rails views
I just launched Table Cloth. It’s an easy way of generating tables in Rails views. It gives the ability to render actions as well.
Jail Harvesting the CDNJS libs
Jail 0.1.1, a Rails Engine built on Githubs API to install/remove your Javascripts in just one click, now harvesting on the CDNJS libraries (158 js libs) to boost the number of inmates. Hope you like it, suggestions more than welcome.
How and why we switched to Amazon EC2
For a good number of months we had our Infrastructure based on Hetzner but due to our service growing and a need to scale dynamically we decided to research cloud platforms and move to the cloud. Additionally we experienced severe networking issues from time to time which forced us to switch. [more inside]
ActiveRecord destroy callbacks on has many through
I came across some behaviour in ActiveRecord today that I found counter–intuitive. When I #delete a record from a has_many ..., through: ... collection association I expected the join record’s after_destroy association to run, just like the after_create and friends which do run. So blogged about it.
Declarative Thinking with Higher Order Functions and Blocks
Here’s a great post on declarative thinking with Ruby. Perfect for the budding Rubyist.
Updated BitNami RubyStack 1.8.7 and 1.9.3
We just updated BitNami RubyStack with Ruby 1.8.7 and Ruby 1.9.3 versions. It is a self-contained, easy to use distribution with one goal in mind: to make it simple to get started developing Ruby On Rails applications. [more inside]
Mapping URLs in Rails
I just blogged about mapping urls in Rails explaining how to create restful routes when you want route names to be different from model names.
Workless 1.1.0 released
Todat Workless 1.1.0 has been released! I wrote a short blog post about it. With this version comes support for multiple workers and the new heroku_api gem. [more inside]
Ruby on Rails Development has transformed the IT industry
There are many languages in web designing but this language makes web designing simple, enabling the user to easily get started immediately. Rails web development is easier and more efficient. Initially, creating web based designs use to be a difficult task but now thanks to ROR. Developing web based applications are now made easy in just few days.
Wanted: Core Team
Calling all Ruby developers: [more inside]
Test HTTP Basic Authentication in Rails 3 With Capybara
Testing your authentication in Rails apps is important but sometimes you don’t need an entire authentication system like devise for backend systems. HTTP basic can be a good comprise but you still need to make sure to test that it’s hooked up correctly. I found doing a full stack integration test using Capybara with Rails 3 to be a good balance between a simple test and assuring the authentication works.
Uniqueable - check uniqueness across multiple models
Uniqueable is a gem to check for uniqueness across multiple models with ActiveRecord. It supports case sensitivity, groups to check against and conditions.
How I deploy to Ubuntu like Heroku
I’ve been doing git push production for a while now, but there doesn’t seem to be a lot about this on blogs so in a recent rebuild I’ve documented the interesting bits of a git-deployable Ubuntu server leveraging user sandboxing, upstart and foreman with Ruby 1.9.3 with GC and tcmalloc patches, PostgreSQL 9.1, PostGIS 2 and node.js 0.8.
betterspecs.org | rspec best practices
I just launched betterspecs.org, a web site that collects the best practices for testing rails apps. I hope you will enjoy it.
jquery mobile 1.2 rails gem
Couldn’t find a regularly updated gem for latest JQM, so I made one myself (really just an asset pipeline wrapper): jquery_mobile-rails
Conversing JSON with Qt and Ruby
Here’s a simple command processing engine in C++ for parsing JSON, using Qt and QScriptEngine. The server, which initiates simple exchanges, is written in Ruby.
Using FastGettext to translate a Rails application
If you’d like to internationalize a Rails app with a simple homemade interface, you can use database-backed FastGettext and store your translations in version control as a Yaml file.
Heroku Sunsets Argent Aspen Stack
As the leaves turn, Heroku makes way for the future by sunsetting its past. Say goodbye to the Aspen stack.
The First Step to Applying Design Patterns: Don't
I just published The First Step to Applying Design Patterns: Don’t which takes a hard look at building software with design patterns in mind.
Master Space and Time With JavaScript: Book 3: Backbone now available
Book 3 of Master Space and Time With JavaScript is now available in beta at http://www.noelrappin.com/mstwjs. This book covers Backbone.js, and shows an example of creating a Backbone project integrated with a Rails back end. The beta is about half-complete.
avoid using rubyzip
I just posted a new blog avoid using rubyzip, it’s a real story on our project, it tells you using zip shell instead of rubyzip can reduce a lot of allocated objects and save much gc time.