Tutorial search

Tutorials
Stuff
Affiliates

Cool Stuff




The fastest way to master the basics of Adobe Photoshop

Click here to find out how

Photoshop Templates


Featured Photoshop templates - professional ready to use designs for your next project.

View all templates

Shortcut Blocks with Symbol to_proc - Ruby on Rails tutorial


It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily.
Category: Ruby on Rails tutorials > Basics - Difficulty:


More cool Ruby on Rails tutorials:



Move Find into Model
Move Find into Model
Move a find into the model to clean up the controllers and remove duplication. Also see how you can call these custom find methods through an association.
Category: Ruby on Rails tutorials > Refactoring - Difficulty:
How to set a character limit for a Ruby on Rails RSS feeds
How to set a character limit for a Ruby on Rails RSS feeds
I was making a RSS feed the other day and wanted to limit the number of characters in my description. Here is how I did it.
Category: Ruby on Rails tutorials > Basics - Difficulty:
Refactoring User Name Part 1
Refactoring User Name Part 1
Learn how to clean up your code through refactoring. This episode will show you how to move code from the view into the model to remove duplication and simplify the view.
Category: Ruby on Rails tutorials > Refactoring - Difficulty:
eRuby: Using Ruby PostgreSQL and MySQL on Windows
eRuby: Using Ruby PostgreSQL and MySQL on Windows
If you are a Windows user then listen up. There are solutions for Ruby and MySQL on Windows. Roderick Von domburg has a project for this and the releases along with excellent instructions are available from his site. Great stuff! He even shows you how to compile your own connection dll on Windows. His work was so good it was included in Instant Rails
Category: Ruby on Rails tutorials > Database - Difficulty:
Creating Many Models in One Form
Creating Many Models in One Form
Learn how to create many models in a single form.
Category: Ruby on Rails tutorials > Basics - Difficulty: