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 or Python? Well, it depends...
A friendly(flame-free) comparison of two of the best dynamic languages Ruby and Python.
Searching Stackoverflow RSS with ElasticSearch and Tire
If you'd like to check out how easy is to put stuff into ElasticSearch with the Tire gem and search it, run ruby elasticoverflow.rb from the following gist. [more inside]
reverse SSH tunnel any rack app with pow and nginx
We show how to use thor, pow, nginx and a reverse SSH tunnel to simplify the process of showing a public demo of any app on your local machine
Allowing Multiple Users to Use The Pivotal Tracker Gem
New Blog Post: Allowing Multiple Users to Use The Pivotal Tracker Gem by Aaron Todd.
Using Graylog2 To Track Business Events In Rails Via Log4r
Blogged about a use case efficiently solved with graylog2 check it out here.
Ruby 1.9.2 generally available (at Engine Yard), generally awesome
Dr. Nic announces the availability of Ruby 1.9.2. He also covers how to upgrade, and how to request access to try Rubinius on AppCloud in Alpha.
Podcast Interview with Ron Evans (@deadprogram)
Ron Evans talks about Kids Ruby, parallels between music and programming, and the Music Jam he’s working on for RailsConf.
A voting extension from scratch for Rails 3 (Part 4)
Finally part 4 of the blog series about developing the MakeVoteable Rails 3 extension. This time models and migrations.
rails-footnotes 3.7.2 has been released.
rails-footnotes 3.7.2 has been released. Сompletely rewritten QueriesNote and bug fixes.
voteable_mongoid 0.7.4 released
Add indexes and more helpful functions. More details here.
Tire, a gem for smooth ride with ElasticSearch in Ruby & Rails
The Tire gem for ElasticSearch was released. It focuses on Ruby-like API for communication with the ElasticSearch server, comfortable DSL for constructing search queries, and full compatibility with ActiveRecord/ActiveModel. Check out the documentation or kick the tires and generate a fully working Rails application in one line: $ rails new tired -m http://gist.github.com/raw/951343/tired.rb
data_migrate
I just put data_migrate into the wild. It’s a gem that will allow you to migrate data in a Rails app as you would schema changes. Check out my post or the Github repo for more details and usage. You can also find it on Ruby Gems.
Using ActiveModel::Name to simplify URL generation and preserve use of polymorphic_path
Love using polymorphic path to build URLs, but running into problems due to resource route names not matching up with your model name? I just blogged about a technique using ActiveRecord::Name to simplify RESTful URL generation. This is also very helpful if you are using namespaced models.
Rails Hosting Comparison: Heroku, EC2, Blue Box Group
I recently put together a Rails hosting comparison of Heroku, EC2 and Blue Box Group. I attempt to compare prices on an apples-to-apples basis as best possible (hint: EC2 wins), and analyze the circumstances in which each host is a best fit.
ANSI 1.2.4: Lining up the Columns
New version of ANSI library now officially supports columns.
Check it out and gem install ansi.
Formatting international phone numbers with Phony
If you’ve got a lot of different international phone numbers to format, Phony might be the thing for you. Read more about it in this blog post. More countries/contributors welcome!
The local optimum of Test-Driven Development
Following TDD, we developed unsweet Ruby code. We took a step back and escaped the local optimum of Test-Driven Development. A case study on basics.
Practical threading with ruby
In which I create a link checker in ruby then work through the process of speeding it up using threads.
Monitoring Phusion Passenger with Monit
I just wrote a Rails plugin which makes it possible to monitor Rails instances, which run under Phusion Passenger, with Monit. More info in my blog and source: https://github.com/romanbsd/passenger_monit
Using Mongoid For Your Rails Views
Following José Valim’s suggestion in his book “Crafting Rails Applications,” we figure out how to use Mongoid to store our view templates.
2011 Boston-based Rails Developer Salary Survey results
Curious how much Rails developers make in Boston? So was I! Check out the survey results.
TorqueBox 1.0.0 Released
The TorqueBox team just released TorqueBox 1.0.0. TorqueBox is a true application server for ruby apps, based on JBossAS and JRuby.
Supporting the Ruby Mendicant Experiment
I would like to keep working on Ruby Mendicant University and on writing open source code and learning materials full time. I’m trying out the idea of community subscriptions: you give me a few bucks a month, I build awesome stuff, and then I tell you about what I’ve been up to!
Using Emacs for Rails development: The perfect setup
I’ve just updated the article Using Emacs for Rails development: The perfect setup that was somewhat popular three years ago to reflect the current state of Ruby/Rails related Emacs technologies.