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.
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. Read more
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. Read more
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. Read more
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: Read more
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
Announcing Jail
Put all your Assets in Rails. Arrest them now!
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.
Adhearsion Training Available Just Before AdhearsionConf 2012
Adhearsion training will be available on Friday October 19, 2012 at the AT&T Foundry in Palo Alto, CA. To get more info and tickets, visit here. You will get a chance to learn Adhearsion on Asterisk, Freeswitch and PRISM.
MotionCasts - Screencasts on RubyMotion
My friend and I have recently launched MotionCasts, screencasts aimed towards teaching RubyMotion. Read more
Vote for EuRuKo 2013 logo
Vote for EuRuKo 2013 logo by simply commenting with +1/-1 on the images on this flickr stream!
Presenting Beta version of CIBox.org - a Code Sharing and Continuous Integration Service
Pasting services works great when you need to share trivial code that can be “executed” in mind. But wait, are’t computers that who should execute code? JSFiddle doing a great job of running javascript code and present you with result. Same is doing CIBox, but for server-side languages, Ruby, Python, Node.js … others to come later. And that’s not all about. It does not just run Ruby/Python/Node. It does run various versions of them. So you can test your code against all major language versions. Read more
2012 Rails Rumble Registration Now Open!
Registration for the 2012 Rails Rumble is now open! See here for details.