Application Tutorials

Exploring the Ruby Facets gem

Posted under Ruby Tutorials on Thursday, 11 June 2009 by
The facets gem is packed full of common functionality that is certainly welcome along-side of the standard library. If you are not using it, chances are you SHOULD be. View...
Exploring the Ruby Facets gem

Sub-command executables with Commander gem

Posted under Ruby Tutorials on Thursday, 11 June 2009 by
Commander is a Ruby Gem aimed towards simplifying the sub-command/master-command structure of many executables. (dont forget to watch the screencast) View...
Sub-command executables with Commander gem

Extend methods with alias chaining

Posted under Ruby Tutorials on Thursday, 11 June 2009 by
Extend existing ruby methods to add your own functionality while retaining previous functionality. View...
Extend methods with alias chaining

Dynamic ruby methods

Posted under Ruby Tutorials on Thursday, 11 June 2009 by
Utilize the method_missing method to create dynamic methods at runtime View...
Dynamic ruby methods

Ruby on Rails for Designers

Posted under Ruby Tutorials on Thursday, 11 June 2009 by
Ruby on Rails for Designers View...
Ruby on Rails for Designers

How to install the Facebooker plugin in Rails

Posted under Ruby on Rails Tutorials on Tuesday, 9 June 2009 by
Due to a bug in the code, installing the Facebooker plugin in Rails requires an extra step. View...
How to install the Facebooker plugin in Rails

Looping Through Flash

Posted under Ruby on Rails Tutorials on Tuesday, 9 June 2009 by
Displaying flash messages in the layout can be a pain at times. In this episode you will learn an easy way to display any kind of flash message by looping through the hash. View...
Looping Through Flash

HABTM Checkboxes

Posted under Ruby on Rails Tutorials on Tuesday, 9 June 2009 by
It is often asked: how do I create a list of checkboxes for managing a HABTM association? Ask no more because this episode will show you how to do exactly that. View...
HABTM Checkboxes

Virtual Attributes

Posted under Ruby on Rails Tutorials on Tuesday, 9 June 2009 by
Keep your controllers clean and forms flexible by adding virtual attributes to your model. This very powerful technique allows you to create form fields which may not directly relate to the database. View...
Virtual Attributes

Fun with Find Conditions

Posted under Ruby on Rails Tutorials on Tuesday, 9 June 2009 by
You can pass more than simple strings to find conditions. Arrays, ranges, and nil values can be passed as well. In this episode you will see the tricks involved with passing these odd objects to find conditions. View...
Fun with Find Conditions

Ruby on Rails – Week 4

Posted under Ruby on Rails Tutorials on Tuesday, 9 June 2009 by
This week we're going to talk about ruby syntax. After this tutorial, I believe that you'll have a much better understanding of the framework and feel much more comfortable doing things by yourself. View...
Ruby on Rails – Week 4

Dangers of Model in Session

Posted under Ruby on Rails Tutorials on Tuesday, 9 June 2009 by
Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database. View...
Dangers of Model in Session
Page 4 of 1312345678...Last »