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 to host a static site on Heroku
Cool tip on how to host a static site on Heroku and code.
The Dev Show
If you like hearing Jason and Dan on The Ruby Show you may want to check out The Dev Show which is less Ruby and more generic development oriented.
JRuby for Android
I’ve developed an Android application that provides an interactive JRuby shell, source code editor and script manager, that allows developers to load, edit and run JRuby code interactively on an Android device. The project is hosted at http://code.google.com/p/jruby-for-android/
Rakegrowl - Get Growled when your long running rake tasks finish
Do you recognize this situation? You run a rake task (for example, rake spec), which you know it’s going to take some time (e.g. 3 or 4 minutes). You say “Great moment to check what’s going on on Twitter”. 10 minutes and 3 tabs with blog posts later, you realize you were actually waiting for a task to finish, a task which finished long before. Bye, bye, productivity!! rakegrowl tells you when your rake tasks end via Growl.
Shoulda TextMate bundle
Shoulda TextMate bundle - a project which will be of interest to all those working with TextMate and writing tests using Shoulda. Source code is laid out on Github so all interested can join the project
[ANN] Ruby Programming Challenge for Newbies #6 is now live
The Ruby Programming Challenge for Newbies #6 by John Trupiano is now live. You can submit your solutions before 20th Feb. 2010. No entry fee and you can win attractive prizes.
Demystifying Eager loading with ActiveRecord
I just wrote short post with the goal of clearing up the confusion some Rails beginners may face when first learning about ActiveRecord’s eager loading feature.
Could MacRuby 1.0 Be The "One More Thing"?
Sorry, it’s just humor, but what if MacRuby 1.0 were the “one more thing” during Steve’s tablet keynote? More seriously, native iPhone apps powered by MacRuby would rule, so even GC on the iPhone would be a great addition in the next firmware release.
A Simple Pattern for Ruby's inject method
Ruby’s inject is an often misunderstood method, but you would be surprised at how much it can help you clean up your code. I see many developers skipping over this method in favor of the non-injectified way, mainly because they dont get how to use inject properly. So we’ll take a look at some common examples and then you will be able to see the pattern that read more >>
Introducing static_paths 0.1.0
static_paths is a library to manage the paths of directories containing static-content within multiple libraries. static_paths makes it simple to register, unregister and search through directories containing static-content needed by your libraries. Get the code.
Top coder needed. A Ruby Job In Beijing.
If you do enjoy the life being a Lead Developer and Software Architect, check what they need: you can write brilliant code, and enjoy with us doing it. [more inside]
Head First - OO Analysis & Design fourth chapter review in Ruby code
Check out the fourth chapter of the book review I’m working on regarding O’Reilly’s Head First - Object Oriented Analysis and Design. All native Java code translated to Ruby.
Ruby Singleton Pattern Again
After giving a bad advice on using Ruby Singleton Pattern in my previous post, I decided to remove it, and write new one. Destroy. Erase. Improve.
Are you testing your attr_* methods?
If you do, then you might want to clean up your specs with RSpec attr extensions.
Head First - OO Analysis & Design third chapter review in Ruby code
Check out the third chapter of the book review I’m working on regarding O’Reilly’s Head First - Object Oriented Analysis and Design. All native Java code translated to Ruby.
Quick and Dirty Twitter keyword monitoring
I have been trying to tackle this for a couple of days now and finally managed to do it. I needed something to keep me posted on some twitter posts and found out that there were some Apps on AppStore that would charge you .99 EUR per keyword. Nah. I Installed Prowl for USD 2.99 instead so I can get any notifications I can take, straight from a Ruby daemon. Then I just deployed this to a server… Thankfully we have such great gems as ruby-prowl and tweetstream and it made my life a lot easier when putting this project together. Yes, it’s dirty but may be helpful to some other Ruby folks so here you have it - intweet.
ActiveRecord roadmap: new and deprecated methods
Rails Core Team member Pratik Naik outlined the roadmap for ActiveRecord.
gem install svnignore
git style ignores for those still using subversion: http://github.com/shuber/svnignore
Metaprogramming with ERB
I just launched meta_erb_exploring. An example of using erb as a system template for make metaprogramming template in ruby. In this example i have create a setter and getter methods that can be add to an instance o class object.
Next in the Rails/Merb Merge Series: Rails Core!
Check out the latest post in Yehuda’s series on the Merge progress, a year later.
On Amazon EC2 Spot Instances
I wrote up a post on our experiences using EC2 spot instances, with rubber and resque helping out on the backend.
Multi-level menu DSL for Rails
Mmmenu is a Rails plugin that provides a nice DSL for creating multi-level menus.
New Ruby Gem for the Tropo Web API
I just launched the tropo-webapi-ruby for Tropo.com. Provides voice, SMS and IM integration to Sinatra and Rails apps.
Getting Up To Speed With Rails 3
This is an in-depth post an actual upgrade and deployment of a production app using Rails 3. There are a couple new ideas and techniques here plus brief coverage of all the issues encountered, and finally a list of the best links on the topic of Rails 3 for further reading.