Tuesday, November 30, 2010

Drink#94: Your Ruby on Rails Juice


  1. RubyMine 3.0 Released: An Improved Ruby and Rails 3.0 IDE: Peter Cooper announces the release of RubyMine 3.0 - a cross-platform Ruby on Rails IDE.
  2. Translate a clean Rails 3 app in the front-end within minutes: See e9s way of internationalizing your Ruby on Rails 3 app.
  3. Ruby 2.0 Refinements in Practice: wycats shows a few refinements expected for Ruby 2.0 and explains with an example of monkey-patching that often conflicts with Rails.
  4. Getting Hired: fog Edition: geemus (Wesley Beary) shares the fog gem that connects with Amazon S3.

Monday, November 29, 2010

Drink#93: Your Ruby on Rails Juice

This cranberry juice is shared by ztephen

  1. Receiving Test Driven Incoming Email for Rails 3: TDD while receiving emails using a Ruby on Rails app.
  2. Prototype 1.7: Prototype js has its 1.7 released. Lot of Ruby on Rails still use this excellent js library and may want to upgrade to the latest.
  3. Episode 242: Thor: Ryan Bates with a screencast on Thor, a rake alternative with better console support.

Sunday, November 28, 2010

Drink#92: Your Ruby on Rails Juice

A fresh orange juice for you by Matti Mattila

  1. Uploadify-with-Paperclip-on-Rails-example: Upload multiple files using jQuery in your Rails project.
  2. Use OpenStruct for application configuration variables: Configure your application without all those constants using OpenStruct.

Friday, November 26, 2010

Drink#91: Your Ruby on Rails Juice

This beautiful after the rain shot is by {{Mouly}}( lost in silence )
  1. Use memoization: May be you already know how to do this. But here is a third party library to do it for you.
  2. Session fixation vulnerability in Devise: Important! If you are using Devise and ActiveRecord or Memcached store- you should update devise immediately. Even if you aren't, you should still update anytime soon.
  3. Blogcast is a better way to blog: Rails 3 blog engine!

Tuesday, November 23, 2010

Drink#90: Your Ruby on Rails Juice

Still no signs of any warmer weather. Got my winter tires, but its really a challenge to face this winter at -30 degree C.
The photo is from flickr
  1. MagicRuby 2011 speakers announced and open registration (no travel requirements)!: Join this fun Ruby event.
  2. Introducing DeploYML: A non-DSL or internal DSL implementation of Ruby on Rails deployment. May be an alternative to capistrano and works for Rails 3 out of the box. The script reads your YML file and its simple.
  3. Ruby redo: Did you know about this ruby keyword? Its opposite of next, that is, it restarts a loop instead of skipping to the next iteration.

Monday, November 22, 2010

Drink#89: Your Ruby on Rails Juice

Here in Calgary, its -30 (feels like) and a bit colder than the north pole! So, for my readers, here goes a nice warm espresso coffee with Ruby on Rails:

  1. Episode 241: Simple OmniAuth: Ryan Bates shows how dead simple it is to use OmniAuth to make use of third party authentication (such as twitter).
  2. Don’t Know Metaprogramming In Ruby? Take a look if you are interested about the Ruby metaprogramming.
  3. Build A Mac Application From Scratch Using MacRuby and Hotcocoa: Develop your favorite Mac application using your loving Ruby language!
  4. Block Helpers in Rails 3: Get the underlying details of the Rails 3 change about how to use block level helpers such as form_for or your custom helpers.

Wednesday, November 17, 2010

Drink#88: Your Ruby on Rails Juice

This iced tea is from Drunken Monkey
  1. Websockets made easy with Cramp: Pratik Naik shows how Cramp helps to use HTML5 web sockets from a Ruby on Rails app.
  2. USE INDEX with Active Record finders: Pratik Naik also shows how to explicitly tell MySQL which index to use in a query by mentioning it as a :from option.
  3. Understanding CSS3 Transitions: Dan Cederholm shares a nice post on CSS3 transitions using code samples and videos.
  4. Signed and Permanent cookies in Rails 3: Pratik Naik with another code fragment that shows how to use permanent cookies in Rails 3.
  5. Ruby on Rack #1 - Hello Rack!: Pratik Naik has a good write up on Rack.

Tuesday, November 16, 2010

Drink#87: Your Ruby on Rails Juice

This juice is shared by norwichnuts

  1. Rails 3.0.3 is out: ActiveRecord is much faster and a number of fixes here are there.
  2. CI JOE, can you please watch my windows?:  Here is another Continuous Integration tool called CI JOE that might require less setup efforts compared to some of the other alternatives for Ruby/Rails projects.
  3. Resources for Getting Started with Ruby on Rails: Engine Yard posted a nice list of resources for getting started with Ruby on Rails, however I think its equally useful for getting up-to-speed for people who already started. See the comments area to find the missing links.

Monday, November 15, 2010

Drink#86: Your Ruby on Rails Juice

This beautiful photo is taken by sean dreilinger

  1. Episode 240: Search, Sort, Paginate with AJAX: Ryan Bates shows how search,  paginate, sort data in views using jQuery and Ajax.
  2. Setting up my Snow Leopard Ruby 1.9.2, Ruby on Rails 3.0, Nginx, Passenger development environment: A detail blog with a shell script to setup the things for you.
  3. Let’s write a Reusable Sidebar Component in Rails 3!: See how to simplify sidebar using Rails cells.
  4. Rails 3.0.2 is out: Still waiting for an official release note.

Saturday, November 13, 2010

Drink#85: Your Ruby on Rails Juice


  1. RoR E-Commerce Contributors: ror_ecommerce is looking for contributors. You can be one of the key contributors, hurry!
  2. Formtastic 1.2.0: Here comes 1.2.0 of formtastic with a better support for HTML 5 controls. Your Ruby on Rails view helpers could benefit from using this update.

Thursday, November 11, 2010

Drink#84: Your Ruby on Rails Juice

  1. Upgrading to Ruby on Rails 3 - beware!: I upgraded my Ruby on Rails app last week and this is a list of things that I suggest you to look at if you have any plan to migrate your app from Ruby on Rails 2.3.x to 3.x
  2. subdomain-fu: Easy subdomains with this plugin. Works in both Rails 2.3 and 3.x.

Wednesday, November 10, 2010

Drink#83: Your Ruby on Rails Juice

Photo by neil alejandro
  1. Spree 0.30.0 Released: Ruby on Rails 3 based open source e-commerce.
  2. rack-modernizr: Ruby Rack middleware for Modernizr on the server: Server side support for the popular Modernizr js library to deal with HTML5 related stuffs.
  3. Getting RVM, Textmate, Ruby 1.8.7 and 1.9.2 and Rails 3 to play nice: Make TextMate play nice with RVM.

Monday, November 8, 2010

Drink#82: Your Ruby on Rails Juice

  1. Making CI easier to do than not to with Hudson CI and Vagrant: A detailed post on setting up Hudson with VMs for near production build.
  2. Episode 239: ActiveRecord::Relation Walkthrough: Ryan Bates on Arel, its a nice starter on ActiveRecord Relation.

Sunday, November 7, 2010

Drink#81: Your Ruby on Rails Juice

At Calgary, this is the season when you celebrate a day if it didn't snow and the temperature is 10ish... and I played soccer today! Here's your green Ruby on Rails drink :-)

Flickr photo shared by Kevin Prichard
  1. Background Jobs in Ruby on Rails: 4 Lines of Code has a nice summary capturing the pros and cons of the available background job processing plug-in/gems for Ruby/Ruby on Rails.
  2. Do YOU know Resque? Here is the step by step guide for one background processing library called Resque.

Wednesday, November 3, 2010

Drink#80: Your Ruby on Rails Juice

Photo credits to Gunjan Karun
After a little period of hibernation, here's a welcome drink for you. Happy Halloween :-) I have been occupied with my job, MSc thesis writing off late. However, you didn't miss out much, the community is pushing more code than blogs!
  1. Do You Understand Ruby’s Objects, Messages and Blocks?: An introspective on Ruby's internals about Object and Messages with good example code.
  2. A Look Into Ruby’s Object Model: Peter Cooper shares a presentation on the same topic. Nice one!
  3. Episode 238: Mongoid: Ryan Bates with a screen cast on using Mongoid for MongoDB.
  4. Rails Tutorial coupon code: Get 10% discount with the coupon code when you order the Rails Tutorial book.
  5. Rails for Zombies – Sneak Peek: Gregg Pollack is catering the Zombies to teach you Rails!
  6. Viewing a model in YAML: Nice little trick to view your model as YML. Can be used to produce test fixtures as well as in debugging. Better than inspect in some use cases.
Aside:
  1. Client-only use of Innovation Games: Carl Erickson from Atomic Object shares their way of understanding the value proposition from customer's point of view.