Display Shows:

My Language:

Railscasts (iPod & Apple TV)

Three times a week you will be treated to a new Railscasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to ...

Three times a week you will be treated to a new Railscasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. 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.

Show all Visit Show Website http://www.railscasts.com

Recently Aired


  • HD

    #6 Shortcut Blocks with Symbol to_proc

    It may have a goofy syntax, but the Symbol#to_proc feature ...

    It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily.

    Mar 16, 2007 Read more
  • HD

    #5 Using with_scope

    Learn how to use with_scope - a very powerful method ...

    Learn how to use with_scope - a very powerful method which will allow your custom find methods to accept any find options. Just like magic!

    Mar 14, 2007 Read more
  • HD

    #4 Move Find into Model

    Move a find into the model to clean up the ...

    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 assoc...

    Mar 12, 2007 Read more
  • HD

    #3 Find Through Association

    No need to pass foreign keys in find conditions, just ...

    No need to pass foreign keys in find conditions, just do the find through a has_many association.

    Mar 9, 2007 Read more
  • HD

    #2 Dynamic find_by Methods

    Shorten simple finds considerably and improve readability by using the ...

    Shorten simple finds considerably and improve readability by using the dynamic find_all_by and find_by methods.

    Mar 7, 2007 Read more
  • HD

    #1 Caching with Instance Variables

    Learn a quick way to improve performance. Just store the ...

    Learn a quick way to improve performance. Just store the end result of an expensive command in an instance variable!

    Mar 4, 2007 Read more
Loading...