• Could not connect to Twitter

New ShowMeDo: Pretty Page Title

_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_
_

“If you are like me, you avoid creating page titles because it is kind of a pain. But in this episode I will show you a clean way to add titles to your pages.” – video here, Ryan Bates

New ShowMeDo: group_by Month

“Learn how to use the very useful group_by method to group an array by anything you want! In this episode I group an array of tasks by month then sort it properly.” – video here, Ryan Bates

New ShowMeDo: in_groups_of

“Have you ever wanted to visually line up items in rows and columns? The in_groups_of method makes this a cinch. Just watch out for the gotcha.” – video here, Ryan Bates

New ShowMeDo: Cross Site Scripting

“Another common security issue is cross site scripting. In this episode you will see why it is so important to escape any HTML a user may submit.” – video here, Ryan Bates

New ShowMeDo: Hackers Love Mass Assignment

“Your site may be at risk! When using mass assignment, you are giving the user complete control over that model and its associations. See how a hacker might use this vulnerability and learn how to stop it in this episode.” – video here, Ryan Bates

New ShowMeDo: SQL Injection

“One of the most common security problems for dynamic sites is SQL Injection. Thankfully Rails does everything it can in solving this issue, but you still need to be aware of it.” – video here, Ryan Bates

New ShowMeDo: The Stack Trace

“The stack trace can be a very useful tool when it comes to debugging. Learn the ins and outs of how the stack trace works in this episode. Note: I am using an older version of the Rails bundle here so it might be a little different than yours. The command in the newer version [...]

New ShowMeDo: Counter Cache Column

“If you need to display the record count for a has_many association, you can improve performance by caching that number in a column.” – video here, Ryan Bates

New ShowMeDo: Eager Loading

“One way to improve performance is to cut down on the number of SQL queries. You can do this through eager loading. Learn all about it in this episode!” – video here, Ryan Bates

New ShowMeDo: Super Simple Authentication

“The final piece of the administration puzzle: authentication. There are many different approaches which is why I saved this step for last. This episode will cover a few techniques including the simple solution used for this site.” – video here, Ryan Bates

New ShowMeDo: Restricting Access

“In this second part of the series on administration, you will learn how to lock down the site to keep the public from accessing the administration features.” – video here, Ryan Bates

New ShowMeDo: Where Administration Goes

“This is the first part of a three part series on building an administration system. Many developers choose to separate it completely from the public side of the site by placing it into an admin subdirectory. This episode will show you an alternative and often better solution.” – video here, Ryan Bates

New ShowMeDo: Looping Through Flash

“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.” – video here, Ryan Bates

New ShowMeDo: HABTM Checkboxes

“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.” – video here, Ryan Bates

New ShowMeDo: Virtual Attributes

“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.” – video here, Ryan Bates

New ShowMeDo: Fun with Find Conditions

“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. (Update: audio fixed).” – video here, Ryan Bates

New ShowMeDo: Performing Calculations on Models

“Did you know ActiveRecord provides class methods for performing calculations on models? You can even use these methods through associations.” – video here, Ryan Bates

New ShowMeDo: Dangers of Model in Session

“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.” – video here, Ryan Bates

New ShowMeDo: Introduction to Ruby VI: Debugging and Unit Testing

“This screencast shows to debug a ruby program using the standard Ruby debugger. It also shows unit testing, a very simple TCP Server, an an introduction to some Ruby/Tk code which I will develop in the next screencast. There is more than one source file for the video, so you can find the zip file, [...]

New ShowMeDo: Introduction to Ruby V

“I talk briefly about how CSV Reader includes Enumerable and defines each. I talk about extracting information from a typical log file. I give an extended example(long but not that complicated) of Distributed Ruby, and point viewers to the first edition of Programming Ruby by Dave Thomas.” – video here, chingav

New ShowMeDo: Introduction to Ruby IV

“I talk about marshaling(serialization), attr_reader, and an introduction but don’t finish showing an existing example of implementing each in one’s own class.” – video here, chingav

New ShowMeDo: Introduction to Ruby III

“I talk about Deep Copy versus Shallow Copy, some Regular Expressions basics(including object-oriented regular expression idioms), implementing to_s in user classes, using case statements, Ranges, File input, single quote vs. double quote strings.” – video here, chingav

New ShowMeDo: Introduction to Ruby II

“This video is about creating one’s own classes. I walk through a bioinformatics class I ported from here: http://www.onlamp.com/pub/a/python/2002/10/17/biopython.html (Oreilly online’s Beginning Python for Bioinformatics).” – video here, chingav

New ShowMeDo: Introduction to Ruby I

“This video is a basic introduction to Ruby. It starts out with showing some of the basic reflection capabilities of Ruby such as (10**10).class. Then I talk about indefinite chaining of methods.” – video here, chingav

New ShowMeDo: Refactoring User Name Part 3

“In the final part of this series you will see how to refactor your tests. Keeping tests clean is important because it will make testing easier to do in the future.” – video here, Ryan Bates