Monday, January 24, 2011

Drink# 114: Your Ruby on Rails Juice

This photo is shared by Jar0d
  1. HTML5 Geolocation testing with Cucumber: See if you are writing the right HTML5 Geolocation code. 
  2. Episode 250: Authentication from Scratch: Ryan Bates with a screencast on basic password authentication, encryption and the session management without using the popular authentication gems.  
  3. RVM and Passenger setup for Rails 2 and Rails 3 apps: Side by side installation of Rails 2 and 3 projects using RVM and Passenger.
  4. A Look Into The Capybara Gem: See how to use Capybara to drive your integration tests.

Wednesday, January 19, 2011

Drink# 112: Your Ruby on Rails Juice

  1. AutoRefresh your browser whenever you hit save.: Refresh 'em as you change the code!
  2. Require Using Expanded Path: use of require with and without File.expand_path is different as the former will only require once while the latter might require multiple times!

Tuesday, January 18, 2011

Drink# 111: Your Ruby on Rails Juice

  1. Develop and Autotest your rubygem: See how to build your gem using bundler and run tests using autotest.
  2. Rails Installer: Ruby and Rails on Windows in a Single, Easy Install: For the windows folks, this is a blessing as you can just hit next next to install Ruby 1.8.7, Rails 3.0.3, Git and SQLite 3!

Monday, January 17, 2011

Drink# 110: Your Ruby on Rails Juice

  1. Episode 249: Notifications in Rails 3: Ryan Bates with a screencast on ActiveSupport::Notifications class that can be used for instrumentation.
  2. MacRuby: The Definitive Book updated: Get the updated copy to see more about MacRuby!

Friday, January 14, 2011

Drink# 109: Your Ruby on Rails Juice

This photo is captured by boozysmurf
  1. track_history: An alternative gem to acts_as_auditable that leverages separate tables for histories compared to the polymorphic approach taken at acts_as_auditable or other similar libraries.
  2. Custom RSpec-2 Matchers: Create your own RSpec matchers!

Thursday, January 13, 2011

Drink# 108: Your Ruby on Rails Juice

Lemon juice shared by lornagrl
  1. Gmail rubygem v0.4.0 just released! Gmail gem simplifies OAuth authentication and search using Gmail.
  2. Ruby Performance Testing Tips and Tricks: thoughtbot shares a few cool tips to investigate and test performance of Ruby apps!
  3. Template Inheritance: Ryan Daigle shares an upcoming Ruby on Rails 3.1 feature, Template inheritance, so that you can extend a controller class and reuse views of the base controller! Awesome!

Monday, January 10, 2011

Drink# 107: Your Ruby on Rails Juice

  1. Episode 248: Offline Apps Part 2: Ryan Bates with his screen cast on offline apps, this time using jquery!
  2. Using Bundler for Ruby Gem Development: Patrick Bacon shows how easy it is to start building your own gem using bundler!
  3. Defining Singleton Methods Using Blocks: See this blog post to find a meta-programming lesson!

Friday, January 7, 2011

Drink# 106: Your Ruby on Rails Juice

Photo Shared by hochit
  1. Ruby on Rails Guides on a PDF Document: These are PDFs generated from the guides.rubyonrails.org HTML pages.
  2. attr_accessor_with_default: A nice little ActiveSupport method!

Thursday, January 6, 2011

Drink# 105: Your Ruby on Rails Juice

Drink shared by urbanbohemian

  1. Easy Monitoring of Varnish with Munin: Observe your caching server.
  2. String#split tip to prevent removing blank tokens: "Hello,Three,,".split(",", -1) => ["hello", "Three", ","]
  3. Episode 247: Offline Apps Part 1: With the HTML5 cache manifest, here's your chance to take your Ruby on Rails application offline using rack-offline gem.

Monday, January 3, 2011

Drink#104: Your Ruby on Rails Juice

Happy new year to all my readers! Last week and half was too eventful for me as I defended my MSc and quickly after that went for a refreshing escape from the Calgary snow to green Vancouver and Victoria!
  1. Peter Cooper’s Online “Introduction to Ruby” Class Starts January 10: You need one? Check out the contents.
  2. MagicRuby is nearly full and the group room rate goes away TODAY: Ruby Conference at Disney and talks from Chad Fowler, Gregg Pollack and the other RoR gurus.
  3. Episode 246: AJAX History State: Ryan Bates with a screencast on pushState feature of JS - now your back button and AJAX navigations are friends without a mediator.